minos.cqrs.exceptions

Exceptions

MinosCqrsException

Base CQRS exception.

MinosIllegalHandlingException

Exception to be raised when a service is trying to be used to handle improper message types.

MinosNotAnyMissingReferenceException

Exception to be raised when an aggregate diff does not have any missing reference.

MinosQueryServiceException

Exception to be raised by query service when an internal error is raised.

exception MinosCqrsException[source]

Bases: MinosException

Base CQRS exception.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception MinosQueryServiceException[source]

Bases: MinosCqrsException

Exception to be raised by query service when an internal error is raised.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception MinosIllegalHandlingException[source]

Bases: MinosException

Exception to be raised when a service is trying to be used to handle improper message types.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception MinosNotAnyMissingReferenceException[source]

Bases: MinosQueryServiceException

Exception to be raised when an aggregate diff does not have any missing reference.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.