Ltix.Errors.Invalid.MediaTypeNotAccepted exception (Ltix v0.2.0)

Copy Markdown View Source

File content item media type not matched by the platform's accept_media_types.

The following fields of this exception are public and can be accessed freely.

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Ltix.Errors.Invalid.MediaTypeNotAccepted{
  __exception__: term(),
  accept_media_types: term(),
  bread_crumbs: term(),
  class: term(),
  index: term(),
  media_type: term(),
  path: term(),
  spec_ref: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.Ltix.Errors.Invalid.MediaTypeNotAccepted without raising it.

Keys

  • :index
  • :media_type
  • :accept_media_types
  • :spec_ref