salemove_http_client v1.0.1 Salemove.HttpClient.UnexpectedRedirectError exception

An error that occurs when server responds with 3xx status

Link to this section Summary

Functions

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

Link to this section Types

Link to this type

t()

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