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

View Source

Returned when the client does not accept (via the Accept header) the json API media type: application/vnd.api+json

Summary

Functions

exception(args)

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

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

Keys