qbraid_core.RequestsApiError

exception qbraid_core.RequestsApiError(message=None, status_code=None)

Exception re-raising a RequestException.

status_code is the HTTP status of the failed response, or None when the request never produced one (connection error, timeout, DNS failure). It lets callers distinguish an expected 404 from a real failure without parsing the message.