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

HTTPX request error.

Summary

Types

t()

HTTPX request error.

Functions

Print a HTTPX request exception

Types

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

HTTPX request error.

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