View Source AshJsonApi.Error (ash_json_api v1.0.0-rc.6)

Represents an AshJsonApi Error

Summary

Types

@type t() :: %AshJsonApi.Error{
  about: term(),
  code: term(),
  detail: term(),
  id: term(),
  internal_description: term(),
  log_level: term(),
  meta: term(),
  source_parameter: term(),
  source_pointer: term(),
  status_code: term(),
  title: term()
}

Functions

Turns an error class into an HTTP status code

Link to this function

to_json_api_errors(domain, resource, errors, type)

View Source
Link to this function

with_source_pointer(built_error, arg2, resource, type)

View Source