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

Carry an explicitly safe JSON-RPC error and HTTP status.

Method __init__ Store safe public error details without exposing a cause.
Class Variable __slots__ Declare the instance attribute slots reserved by this class.
Instance Variable code Value supplied for code.
Instance Variable data Value supplied for data.
Instance Variable message Value supplied for message.
Instance Variable status Value supplied for status.
def __init__(self, code: int, message: str, *, status: int = 400, data: object = msgspec.UNSET): (source)

Store safe public error details without exposing a cause.

Parameters
code:intValue supplied for code.
message:strValue supplied for message.
status:intValue supplied for status.
data:objectValue supplied for data.
Returns
NoneComplete the documented operation without returning a value.
__slots__: tuple[str, ...] = (source)

Declare the instance attribute slots reserved by this class.

Value supplied for code.

Value supplied for data.

Value supplied for message.

Value supplied for status.