minos.cqrs.exceptions module¶
- exception minos.cqrs.exceptions.MinosCqrsException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosException
Base CQRS exception.
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.cqrs.exceptions.MinosIllegalHandlingException(error_message)[source]¶
Bases:
minos.common.exceptions.MinosException
Exception to be raised when a service is trying to be used to handle improper message types.
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.cqrs.exceptions.MinosNotAnyMissingReferenceException(error_message)[source]¶
Bases:
minos.cqrs.exceptions.MinosQueryServiceException
Exception to be raised when an aggregate diff does not have any missing reference.
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.cqrs.exceptions.MinosQueryServiceException(error_message)[source]¶
Bases:
minos.cqrs.exceptions.MinosCqrsException
Exception to be raised by query service when an internal error is raised.
- __init__(error_message)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.