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