API reference
python:irx:irx.diagnostics.IRxDiagnosticError
class IRxDiagnosticError
IRxDiagnosticError(diagnostic: Diagnostic, *, code_formatter: DiagnosticCodeFormatter | None = None)
Source: packages/irx/src/irx/diagnostics.py:552
Raised when one non-semantic compiler phase emits a diagnostic.
Attributes
-
diagnostic — Structured diagnostic to inspect or report.; Type: Diagnostic
-
code_formatter — Code formatter.; Type: DiagnosticCodeFormatter