AshJsonApi.Error.InvalidSort exception (ash_json_api v1.5.1)

View Source

Returned when a sort parameter is invalid or malformed

Summary

Functions

exception(args)

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

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

Keys

  • :sort
  • :field
  • :detail
  • :source_parameter