salemove_http_client v0.1.6 Salemove.HttpClient.UnexpectedRedirectError exception
An error that occurs when server responds with 3xx status
Link to this section Summary
Functions
Callback implementation for Exception.exception/1
Callback implementation for Exception.message/1
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
Link to this function
exception(msg)
Callback implementation for Exception.exception/1
.
Link to this function
message(exception)
Callback implementation for Exception.message/1
.
Create a new Elixir.Salemove.HttpClient.UnexpectedRedirectError struct from Tesla.Env