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.

class documentation

Undocumented

Method toDict Serialize exception details into a dictionary.
def toDict(self) -> dict[str, Any]: (source)

Serialize exception details into a dictionary.

Parameters
self:ExceptionParserInstance of ExceptionParser.
Returns
dict[str, Any]Dictionary with keys: - 'error_type': str, type of the exception. - 'error_message': str, formatted traceback string. - 'error_code': Any, custom error code if present. - 'stack_trace': list[dict], frame details.