salemove_http_client v2.0.1 Salemove.HttpClient.ClientError exception

An error that occurs when server responds with 4xx status

Link to this section Summary

Functions

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

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