AshJsonApi.Error behaviour (ash_json_api v0.28.1) View Source

Represents an AshJsonApi Error

Link to this section Summary

Link to this section Types

Specs

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()
}

Link to this section Functions

Link to this section Callbacks

Specs

new(Keyword.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()
  }
  | [
      %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()
      }
    ]