Sage v0.3.3 API Reference

Modules

Sage is an implementation of Sagas pattern in pure Elixir

This module provides behaviour for compensation error handling

This module is responsible for Sage execution

This module implements retry logic with exponential back-off for compensations that want to retry transaction

This module implements retry logic with exponential back-off for compensations that want to retry transaction

This module provides behaviour for Sage tracers

Exceptions

Raised at runtime when the asynchronous transaction timed out

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

Raised at runtime when the compensation or operation has an malformed return

Raised at runtime when the transaction or operation has an malformed return

Raised at runtime when the compensation tries to apply circuit breaker on transactions it’s not responsible for