AshJsonApi.Error.NotFound exception (ash_json_api v1.4.30)

View Source

Returned when a record was explicitly requested, but could not be found.

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %AshJsonApi.Error.NotFound{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  filter: term(),
  path: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.AshJsonApi.Error.NotFound without raising it.

Keys

  • :filter
  • :resource