Source code for minos.cqrs.exceptions

from minos.common import (
    MinosException,
)


[docs]class MinosCqrsException(MinosException): """Base CQRS exception."""
[docs]class MinosQueryServiceException(MinosCqrsException): """Exception to be raised by query service when an internal error is raised."""
[docs]class MinosIllegalHandlingException(MinosException): """Exception to be raised when a service is trying to be used to handle improper message types."""
[docs]class MinosNotAnyMissingReferenceException(MinosQueryServiceException): """Exception to be raised when an aggregate diff does not have any missing reference."""