Salemove.HttpClient.UnexpectedRedirectError exception (salemove_http_client v3.0.0)

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

Specs

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

Specs

new(Tesla.Env.t()) :: t()

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