Deputy.Error.HTTP exception (Deputy v0.2.1)

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.HTTP{
  __exception__: true,
  body: map() | String.t() | nil,
  reason: atom() | String.t(),
  status: integer() | nil
}

Functions

message(http)

Callback implementation for Exception.message/1.