GitHub

HttpError

API reference for HttpError.

The server answered with an HTTP error status (and maybe a JSON-RPC error in the body).

Attributes

AttributeTypeDescription
statusint
codeint | None = None
dataJsonValue = None
descriptionstr | None = None
www_authenticatestr | None = None
retry_afterstr | None = None
messagestr

Functions

__init__

__init__(status, code=None, data=None, description=None, www_authenticate=None, retry_after=None) -> None
ParameterTypeDescription
statusint
codeint | None = None
dataJsonValue = None
descriptionstr | None = None
www_authenticatestr | None = None
retry_afterstr | None = None