HTTPX v0.10.0-rc0 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

Link to this type

t() View Source
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
exception(term(), term(), list()) :: t()

HTTPX request error.

Link to this function

message(exception) View Source
message(t()) :: iolist()

Print a HTTPX request exception