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

Define the contract for exception parser implementations.

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

Serialize exception details into a dictionary.

Parameters
self:orionis.support.formatter.exceptions.parser.ExceptionParserInstance of ExceptionParser.
Returns
dict[str, typing.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.