Jido.Action.Error.Internal exception (Jido Action v2.3.0)

View Source

Internal error class for Splode.

This module is used by Splode to classify internal/unexpected errors when aggregating or analyzing multiple errors. Do not raise or match on this module directly — use Jido.Action.Error.InternalError and helpers like internal_error/2 instead.

Summary

Functions

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

Callback implementation for Exception.message/1.

Functions

exception(args)

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

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

Keys

  • :errors

message(map)

Callback implementation for Exception.message/1.