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

View Source

Error for unexpected internal failures.

Summary

Types

t()

@type t() :: %Jido.Action.Error.InternalError{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  details: map(),
  message: String.t(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Functions

exception(msg)

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

Create an Elixir.Jido.Action.Error.InternalError without raising it.

Keys

  • :message
  • :details