Ash.Error.Unknown.InvalidCastedValue exception (ash v3.19.3)

Copy Markdown View Source

Used when a value fails to dump to its native (storage) format

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Ash.Error.Unknown.InvalidCastedValue{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  constraints: term(),
  error: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  type: term(),
  value: term(),
  vars: term()
}

Create an Elixir.Ash.Error.Unknown.InvalidCastedValue without raising it.

Keys

  • :type
  • :value
  • :constraints
  • :error