API Reference Sage v0.6.3
modules
Modules
Sage is a dependency-free implementation of Sagas pattern in pure Elixir. It is a go to way when you dealing with distributed transactions, especially with an error recovery/cleanup. Sage does it's best to guarantee that either all of the transactions in a saga are successfully completed or compensating that all of the transactions did run to amend a partial execution.
Raised at runtime when the asynchronous transaction timed out.
This module provides behaviour for compensation error handling.
Raised at runtime when duplicated final hook is added to Sage.
Raised at runtime when operation with duplicated name is added to Sage.
Raised at runtime when a duplicated tracer is added to Sage.
Raised at runtime when empty sage is executed.
This module is responsible for Sage execution.
This module implements retry logic with exponential back-off for compensations that want to retry transaction.
Raised at runtime when the compensation or operation has an malformed return.
Raised at runtime when the transaction or operation has an malformed return.
This module provides behaviour for Sage tracers.