API reference

python:irx:irx.builder.runtime.exceptions.reporting.ExceptionReport

class ExceptionReport

ExceptionReport(role: Literal['root', 'cause', 'context', 'cleanup'], code: str, type_name: str, source: str, line: int, col: int, message: str, frames: tuple[ExceptionFrame, ...] = (), related: tuple[ExceptionReport, ...] = ())

Source: packages/irx/src/irx/builder/runtime/exceptions/reporting.py:38

Immutable typed report with chronological related diagnostics.

Attributes

Notes

type_name is a canonical nominal identity, not message-derived text. Unknown origins use line and col minus one; they are not fabricated. related holds cause, context, and secondary cleanup reports in order.

Methods

Attributes

Search documentation

Type to search.