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

View Source

Returned when a header provided is invalid

Summary

Functions

exception(args)

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

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

Keys

  • :json_xema_error