Ash.Error.Invalid.Unavailable exception (ash v3.4.71)

View Source

Used when a given resource is unavailable.

This might happen due to locking at the data layer, or something you implement yourself.

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Ash.Error.Invalid.Unavailable{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  path: term(),
  reason: term(),
  resource: term(),
  source: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.Ash.Error.Invalid.Unavailable without raising it.

Keys

  • :resource
  • :source
  • :reason