minos.common.exceptions module¶
- exception minos.common.exceptions.DataDecoderException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosModelExceptionBase data decoder exception.
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.DataDecoderMalformedTypeException(error_message)[source]¶
Bases:
minos.common.exceptions.DataDecoderExceptionException to be raised when malformed types are provided.
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.DataDecoderRequiredValueException(error_message)[source]¶
Bases:
minos.common.exceptions.DataDecoderExceptionException to be raised when required values are not provided.
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.DataDecoderTypeException(target_type, value)[source]¶
Bases:
minos.common.exceptions.DataDecoderExceptionException to be raised when expected and provided types do not match.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.EmptyMinosModelSequenceException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosModelExceptionException to be raised when a sequence must be not empty, but it is empty.
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MinosAttributeValidationException(name, value)[source]¶
Bases:
minos.common.exceptions.MinosModelAttributeExceptionException to be raised when some fields are not valid.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MinosBrokerException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosExceptionBase broker exception
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MinosConfigException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosExceptionBase config exception.
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MinosException(error_message)[source]¶
Bases:
ExceptionException class for import packages or modules
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MinosHandlerException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosExceptionBase handler exception
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MinosImportException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosException- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MinosLockException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosExceptionBase lock exception
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MinosMalformedAttributeException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosModelAttributeExceptionException to be raised when there are any kind of problems with the type definition.
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MinosMessageException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosException- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MinosModelAttributeException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosExceptionBase model attributes exception.
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MinosModelException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosExceptionException to be raised when some mandatory condition is not satisfied by a model.
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MinosParseAttributeException(name, value, exception)[source]¶
Bases:
minos.common.exceptions.MinosModelAttributeExceptionException to be raised when there are any kind of problems with the parsing logic.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MinosProtocolException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosException- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MinosReqAttributeException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosModelAttributeExceptionException to be raised when some required attributes are not provided.
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MinosTypeAttributeException(name, target_type, value)[source]¶
Bases:
minos.common.exceptions.MinosModelAttributeExceptionException to be raised when there are any mismatching between the expected and observed attribute type.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.MultiTypeMinosModelSequenceException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosModelExceptionException to be raised when a sequence doesn’t satisfy the condition to have the same type for each item.
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.common.exceptions.NotProvidedException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosExceptionException to be raised when a dependency is needed but not provided.
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.