View Source HTTPX.RequestError exception (HTTPX v0.1.6)

HTTPX request error.

Link to this section Summary

Types

t()

HTTPX request error.

Functions

Print a HTTPX request exception

Link to this section Types

@type 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
@spec exception(term(), term(), list()) :: t()

HTTPX request error.

@spec message(t()) :: binary()

Print a HTTPX request exception