salemove_http_client v1.0.0 Salemove.HttpClient.UnavailableError exception

An error that occurs when server responds any status > 501

Link to this section Summary

Functions

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

Link to this section Types

Link to this type

t()

t() :: %Salemove.HttpClient.UnavailableError{
  __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.UnavailableError struct from Tesla.Env