Deputy.Error.HTTPError exception (Deputy v0.3.0)

View Source

Represents an HTTP-level error that occurred while communicating with the Deputy API.

Summary

Functions

Callback implementation for Exception.message/1.

Types

t()

@type t() :: %Deputy.Error.HTTPError{
  __exception__: true,
  body: map() | String.t() | nil,
  reason: atom() | String.t(),
  status: integer() | nil
}

Functions

message(http_error)

Callback implementation for Exception.message/1.