Skip to content

RequestError

Bases: BaseError

An exception for errors encountered during HTTP requests.

Inherits from

BaseError: Provides the status code and error message attributes.

Attributes:

Name Type Description
status_code int

The HTTP status code associated with the request error.

error_message str

A descriptive message explaining the request error.