salemove_http_client v1.0.1 Salemove.HttpClient.ServerError exception

An error that occurs when server responds with 500 or 501 status

Link to this section Summary

Functions

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

Link to this section Types

Link to this type

t()

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