openpectus.lang.exec.errors
Exceptions
Common base class for all non-exit exceptions. |
|
Common base class for all non-exit exceptions. |
|
Raised when a UnitOperationDefinition definition/configuration error occurs. |
|
Raised by interpreter when a general error occurs |
|
Raised by interpreter when an instruction specific error occurs |
|
Raised by interpreter if an internal error occurs |
|
Common base class for all non-exit exceptions. |
|
Common base class for all non-exit exceptions. |
Module Contents
- exception openpectus.lang.exec.errors.EngineNotInitializedError(message, *args)
Bases:
ExceptionCommon base class for all non-exit exceptions.
- Parameters:
message (str)
args (object)
- message
- __str__()
Return str(self).
- Return type:
str
- exception openpectus.lang.exec.errors.EngineError(message, user_message=None, exception=None, *args)
Bases:
ExceptionCommon base class for all non-exit exceptions.
- Parameters:
message (str)
user_message (str | Literal['same'] | None)
exception (Exception | None)
- message
- exception = None
- __str__()
Return str(self).
- Return type:
str
- exception openpectus.lang.exec.errors.UodValidationError
Bases:
ExceptionRaised when a UnitOperationDefinition definition/configuration error occurs.
- __str__()
Return str(self).
- Return type:
str
- exception openpectus.lang.exec.errors.InterpretationError(message, user_message='same', exception=None, *args)
Bases:
ExceptionRaised by interpreter when a general error occurs
- Parameters:
message (str)
user_message (str | Literal['same'] | None)
exception (Exception | None)
args (object)
- message: str
- exception = None
- __str__()
Return str(self).
- Return type:
str
- exception openpectus.lang.exec.errors.NodeInterpretationError(node, message, user_message='same', exception=None, *args)
Bases:
InterpretationErrorRaised by interpreter when an instruction specific error occurs
- Parameters:
message (str)
user_message (str | Literal['same'] | None)
exception (Exception | None)
args (object)
- node
- message: str
- exception = None
- exception openpectus.lang.exec.errors.InterpretationInternalError(message, exception=None, *args)
Bases:
InterpretationErrorRaised by interpreter if an internal error occurs
- Parameters:
message (str)
exception (Exception | None)
args (object)
- message: str
- exception = None
- exception openpectus.lang.exec.errors.MethodError(message, exception=None)
Bases:
ExceptionCommon base class for all non-exit exceptions.
- Parameters:
message (str)
exception (Exception | None)
- message
- exception = None
- exception openpectus.lang.exec.errors.MethodEditError(message, exception=None)
Bases:
MethodErrorCommon base class for all non-exit exceptions.
- Parameters:
message (str)
exception (Exception | None)