HTTPill v0.2.0 HTTPill.StatusError exception View Source

Represents an error for not successful status codes

Link to this section Summary

Functions

Callback implementation for Exception.exception/1

Returns the message for the given error

Link to this section Types

Link to this type t() View Source
t() :: %HTTPill.StatusError{__exception__: term, response: HTTPill.Response.t}

Link to this section Functions

Link to this function exception(args) View Source
exception(keyword) :: Exception.t

Callback implementation for Exception.exception/1.

Link to this function message(error) View Source
message(t) :: binary

Returns the message for the given error