Salemove.HttpClient.ServerError exception (salemove_http_client v2.1.2)
An error that occurs when server responds with 500 or 501 status
Link to this section Summary
Link to this section Types
Specs
t() :: %Salemove.HttpClient.ServerError{ __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.ServerError struct from Tesla.Env