HTTPX v0.1.2 HTTPX.RequestError exception View Source

HTTPX request error.

Link to this section Summary

Types

t()

HTTPX request error.

Functions

Print a HTTPX request exception

Link to this section Types

Specs

t() :: %HTTPX.RequestError{
  __exception__: term(),
  body: term(),
  code: term(),
  headers: term(),
  message: term(),
  options: term(),
  url: term()
}

HTTPX request error.

Link to this section Functions

Link to this function

exception(reason, message \\ nil, context \\ [])

View Source

Specs

exception(term(), term(), list()) :: t()

HTTPX request error.

Specs

message(t()) :: binary()

Print a HTTPX request exception