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
class IExceptionParser(Protocol): (source)
Known subclasses: orionis.support.formatter.exceptions.parser.ExceptionParser
Undocumented
| Method | to |
Serialize exception details into a dictionary. |
Serialize exception details into a dictionary.
| Parameters | |
self:ExceptionParser | Instance 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. |