Jido.Flow.Error.ExecutionFailureError exception (Jido Action v3.0.0-beta.12)

View Source

Error for native Flow execution failures.

Summary

Types

t()

@type t() :: %Jido.Flow.Error.ExecutionFailureError{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  details: map(),
  failures: [Jido.Flow.Error.runnable_failure()],
  flow: String.t() | nil,
  message: String.t(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Functions

exception(msg)

@spec exception(opts :: Keyword.t()) :: %Jido.Flow.Error.ExecutionFailureError{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  details: term(),
  failures: term(),
  flow: term(),
  message: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.Jido.Flow.Error.ExecutionFailureError without raising it.

Keys

  • :message
  • :flow
  • :failures
  • :details