maxwell v2.2.2 Maxwell.Error exception

Exception %Maxwell.Error{:url, :reason, :message, :status, :conn}

Examples

raise Maxwell.Error, {__MODULE__, reason, conn}

Summary

Functions

Callback implementation for Exception.exception/1

Callback implementation for Exception.message/1

Functions

exception(msg)
exception(String.t) :: Exception.t
exception(Keyword.t) :: Exception.t
exception({module, atom | binary, Maxwell.Conn.t}) :: Exception.t

Callback implementation for Exception.exception/1.

message(exception)
message(Exception.t) :: String.t

Callback implementation for Exception.message/1.