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:
MinosException
Base Aggregate module exception
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception EventRepositoryException[source]
Bases:
AggregateException
Base event repository exception.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception EventRepositoryConflictException[source]
Bases:
EventRepositoryException
Exception to be raised when some
EventEntry
raises a conflict.- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception TransactionRepositoryException[source]
Bases:
AggregateException
Base transaction repository exception.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception TransactionRepositoryConflictException[source]
Bases:
TransactionRepositoryException
Exception 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:
TransactionRepositoryException
Exception 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:
AggregateException
Base snapshot exception.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SnapshotRepositoryConflictException[source]
Bases:
SnapshotRepositoryException
Exception 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:
SnapshotRepositoryException
Exception to be raised when a
RootEntity
is 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:
SnapshotRepositoryException
Exception to be raised when a
RootEntity
is already deleted from the repository.- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.