minos.aggregate.exceptions
Exceptions
Base Aggregate module exception |
|
Exception to be raised when a |
|
Exception to be raised when some |
|
Base event repository exception. |
|
Exception to be raised when a |
|
Exception to be raised when some reference can not be resolved. |
|
Exception to be raised when current version is newer than the one to be processed. |
|
Base snapshot exception. |
|
Exception to be raised when some transaction is not found on the repository. |
|
Exception to be raised when a transaction has invalid status. |
|
Base transaction repository exception. |
|
If an attribute of an immutable class is modified, this exception will be raised |
- exception AggregateException[source]
Bases:
MinosExceptionBase Aggregate module exception
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception EventRepositoryException[source]
Bases:
AggregateExceptionBase event repository exception.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception EventRepositoryConflictException[source]
Bases:
EventRepositoryExceptionException to be raised when some
EventEntryraises a conflict.- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception TransactionRepositoryException[source]
Bases:
AggregateExceptionBase transaction repository exception.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception TransactionRepositoryConflictException[source]
Bases:
TransactionRepositoryExceptionException to be raised when a transaction has invalid status.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception TransactionNotFoundException[source]
Bases:
TransactionRepositoryExceptionException to be raised when some transaction is not found on the repository.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SnapshotRepositoryException[source]
Bases:
AggregateExceptionBase snapshot exception.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SnapshotRepositoryConflictException[source]
Bases:
SnapshotRepositoryExceptionException to be raised when current version is newer than the one to be processed.
- __init__(previous, event)[source]
- Parameters
previous (RootEntity) –
event (Event) –
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception NotFoundException[source]
Bases:
SnapshotRepositoryExceptionException to be raised when a
RootEntityis not found on the repository.- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception AlreadyDeletedException[source]
Bases:
SnapshotRepositoryExceptionException to be raised when a
RootEntityis already deleted from the repository.- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.