salemove_http_client v0.2.0 Salemove.HttpClient.ClientError exception

An error that occurs when server responds with 4xx status

Link to this section Summary

Functions

Callback implementation for Exception.exception/1

Callback implementation for Exception.message/1

Create a new Elixir.Salemove.HttpClient.ClientError struct from Tesla.Env

Link to this section Types

Link to this type t()
t() :: %Salemove.HttpClient.ClientError{__exception__: true, body: Tesla.Env.body(), headers: Tesla.Env.headers(), message: String.t(), status: Tesla.Env.status()}

Link to this section Functions

Callback implementation for Exception.exception/1.

Link to this function message(exception)

Callback implementation for Exception.message/1.

Create a new Elixir.Salemove.HttpClient.ClientError struct from Tesla.Env