mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-09 05:27:56 -05:00
19 lines
448 B
Python
19 lines
448 B
Python
class CompilerError(Exception):
|
|
"""Base class for compiler exceptions."""
|
|
pass
|
|
|
|
class RegisterOverflowError(CompilerError):
|
|
pass
|
|
|
|
class MemoryOverflowError(CompilerError):
|
|
pass
|
|
|
|
class ArgumentError(CompilerError):
|
|
""" Exception raised for errors in instruction argument parsing. """
|
|
def __init__(self, arg, msg):
|
|
self.arg = arg
|
|
self.msg = msg
|
|
|
|
class VectorMismatch(CompilerError):
|
|
pass
|