HTTPill v0.2.0 HTTPill.ConnError exception View Source

Represents an error when trying to connect

Link to this section Summary

Functions

Callback implementation for Exception.exception/1

Returns the message for the given error

Returns a brand new ConnError response

Link to this section Types

Link to this type t() View Source
t() :: %HTTPill.ConnError{__exception__: term, id: reference | nil, reason: any}

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

Link to this function new(reason, id, config) View Source
new(any, reference | nil, HTTPill.Config.t) :: any

Returns a brand new ConnError response.