Skip to content

Class peagen.errors.HTTPClientNotInitializedError

peagen.errors.HTTPClientNotInitializedError

HTTPClientNotInitializedError()

Bases: RuntimeError

Raised when an HTTP client is required but not yet initialized.

Source code in peagen/errors.py
229
230
def __init__(self) -> None:
    super().__init__("HTTP client not initialized")