Raised when an action fails to execute.
Fields
:resource- The resource module:action- The action name:reason- The reason for the failure:record_id- Optional ID of the record
Summary
Functions
Create an Elixir.MishkaGervaz.Errors.Action.Failed without raising it.
Functions
@spec exception(opts :: Keyword.t()) :: %MishkaGervaz.Errors.Action.Failed{ __exception__: true, action: term(), bread_crumbs: term(), class: term(), path: term(), reason: term(), record_id: term(), resource: term(), splode: term(), stacktrace: term(), vars: term() }
Create an Elixir.MishkaGervaz.Errors.Action.Failed without raising it.
Keys
- :resource
- :action
- :reason
- :record_id