Skip to content
Roboto
Esc
↑↓navigate↵open⌘Jpreview
On this page

roboto.exceptions.http

Module Contents

ClientError

exception roboto.exceptions.http.ClientError(exc)#View Source

Bases: HttpError

Common base class for all non-exit exceptions.

Parameters

exc urllib.error.HTTPError

HttpError

exception roboto.exceptions.http.HttpError(exc)#View Source

Bases: Exception

Common base class for all non-exit exceptions.

Parameters

exc urllib.error.HTTPError

Properties

HttpError.headers

headers dict #
Return type: dict

HttpError.msg

msg Any #
Return type: Any

HttpError.status

status http.HTTPStatus | None #
Return type: Optional[http.HTTPStatus]

ServerError

exception roboto.exceptions.http.ServerError(exc)#View Source

Bases: HttpError

Common base class for all non-exit exceptions.

Parameters

exc urllib.error.HTTPError

Was this page helpful?