minos.saga.exceptions
Exceptions
Exception to be raised when trying to modifying an already committed saga. |
|
Exception to be raised when a saga step is already in another saga. |
|
Exception to be raised when saga is empty. |
|
Exception to be raised when the step is empty. |
|
Exception to be raised when a saga executor raises some exception. |
|
Exception to be raised when multiple else then alternatives are defined. |
|
Exception to be raised when multiple on error methods are defined. |
|
Exception to be raised when multiple on execute methods are defined. |
|
Exception to be raised when multiple on failure methods are defined. |
|
Exception to be raised when multiple on success methods are defined. |
|
Base saga exception. |
|
Exception to be raised when a saga execution cannot be executed. |
|
Base exception for saga execution. |
|
Exception to be raised when a saga execution is not found. |
|
Exception to be raised when a saga commit callback raises some exception |
|
Exception to be raised when a saga execution failed while running. |
|
Exception to be raised when a saga execution step failed while running. |
|
Exception to be raised when trying to exec a not committed saga. |
|
Exception to be raised when the saga is not defined. |
|
Exception to be raised when a saga execution step is paused. |
|
Exception to be used when |
|
Exception to be raised when a saga exception cannot be rollbacked |
|
Exception to be raised when a saga execution step failed while performing a rollback. |
|
Base exception for saga steps. |
|
Base exception for saga execution step. |
|
Exception to be raised when the on execute method is not defined. |
- exception SagaException[source]
Bases:
MinosException
Base saga exception.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception EmptySagaException[source]
Bases:
SagaException
Exception to be raised when saga is empty.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SagaNotCommittedException[source]
Bases:
SagaException
Exception to be raised when trying to exec a not committed saga.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SagaStepException[source]
Bases:
SagaException
Base exception for saga steps.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SagaNotDefinedException[source]
Bases:
SagaStepException
Exception to be raised when the saga is not defined.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception EmptySagaStepException[source]
Bases:
SagaStepException
Exception to be raised when the step is empty.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception MultipleOnExecuteException[source]
Bases:
SagaStepException
Exception to be raised when multiple on execute methods are defined.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception MultipleOnFailureException[source]
Bases:
SagaStepException
Exception to be raised when multiple on failure methods are defined.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception MultipleOnSuccessException[source]
Bases:
SagaStepException
Exception to be raised when multiple on success methods are defined.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception MultipleOnErrorException[source]
Bases:
SagaStepException
Exception to be raised when multiple on error methods are defined.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception MultipleElseThenException[source]
Bases:
SagaStepException
Exception to be raised when multiple else then alternatives are defined.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception AlreadyOnSagaException[source]
Bases:
SagaStepException
Exception to be raised when a saga step is already in another saga.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception UndefinedOnExecuteException[source]
Bases:
SagaStepException
Exception to be raised when the on execute method is not defined.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SagaExecutionException[source]
Bases:
SagaException
Base exception for saga execution.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SagaExecutionNotFoundException[source]
Bases:
SagaExecutionException
Exception to be raised when a saga execution is not found.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SagaRollbackExecutionException[source]
Bases:
SagaExecutionException
Exception to be raised when a saga exception cannot be rollbacked
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SagaFailedExecutionException[source]
Bases:
SagaExecutionException
Exception to be raised when a saga execution failed while running.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SagaExecutionAlreadyExecutedException[source]
Bases:
SagaExecutionException
Exception to be raised when a saga execution cannot be executed.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SagaStepExecutionException[source]
Bases:
SagaException
Base exception for saga execution step.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SagaFailedExecutionStepException[source]
Bases:
SagaStepExecutionException
,SagaFailedExecutionException
Exception to be raised when a saga execution step failed while running.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SagaPausedExecutionStepException[source]
Bases:
SagaStepExecutionException
Exception to be raised when a saga execution step is paused.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SagaRollbackExecutionStepException[source]
Bases:
SagaStepExecutionException
Exception to be raised when a saga execution step failed while performing a rollback.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception AlreadyCommittedException[source]
Bases:
SagaException
Exception to be raised when trying to modifying an already committed saga.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception ExecutorException[source]
Bases:
SagaException
Exception to be raised when a saga executor raises some exception.
- __new__(**kwargs)
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.