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

View Source

Error for invalid input parameters.

Summary

Types

t()

@type t() :: %Jido.Action.Error.InvalidInputError{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  details: map(),
  field: atom() | nil,
  message: String.t(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  value: any() | nil,
  vars: term()
}

Functions

exception(msg)

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

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

Keys

  • :message
  • :field
  • :value
  • :details