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

Represents an AshJsonApi Error

Link to this section Summary

Link to this section 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()
}

Link to this section Callbacks

@callback 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()
      }
    ]

Link to this section Functions