ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

exception documentation

Report an HTTP error status on explicit request.

The caller can inspect the original response through the exception.

Method __init__ Retain the response for explicit inspection.
Instance Variable response Expose the detached response that produced the error status.
def __init__(self, response: ClientResponse): (source)

Retain the response for explicit inspection.

Parameters
response:ClientResponseDetached response for explicit inspection.
Returns
NoneInitialize the exception with the response and its status.
response = (source)

Expose the detached response that produced the error status.