Salemove.HttpClient.UnexpectedRedirectError exception (salemove_http_client v5.0.0)
An error that occurs when server responds with 3xx status
Link to this section Summary
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
Link to this function
new(env)
Specs
new(Tesla.Env.t()) :: t()
Create a new Elixir.Salemove.HttpClient.UnexpectedRedirectError struct from Tesla.Env