Jido.Error.CompensationError exception
(Jido v2.1.0)
View Source
Error for saga compensation failures.
Fields
message- Human-readable error messageoriginal_error- The error that triggered compensationcompensated- Whether compensation succeededresult- Result from successful compensationdetails- Additional context
Summary
Functions
Create an Elixir.Jido.Error.CompensationError without raising it.
Types
Functions
@spec exception(opts :: Keyword.t()) :: %Jido.Error.CompensationError{ __exception__: true, bread_crumbs: term(), class: term(), compensated: term(), details: term(), message: term(), original_error: term(), path: term(), result: term(), splode: term(), stacktrace: term(), vars: term() }
Create an Elixir.Jido.Error.CompensationError without raising it.
Keys
- :message
- :original_error
- :compensated
- :result
- :details