salemove_http_client v2.0.1 Salemove.HttpClient.UnsupportedProtocolError exception

An error that occurs when server responds with status < 200

Link to this section Summary

Functions

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

Link to this section Types

Link to this type

t()

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