RingCentral.Error (RingCentral v0.2.2) View Source

The struct representing the error from the API.

Link to this section Summary

Link to this section Types

Specs

client_error() :: %{
  code: :client_error,
  detail: %{status: integer(), data: map(), headers: list()}
}

Specs

server_error() :: %{
  code: :server_error,
  detail: %{status: integer(), data: map(), headers: list()}
}

Specs

t() :: %RingCentral.Error{code: atom() | integer(), detail: any()}