API reference
python:irx:irx.builder.protocols.ExceptionLoweringTypingBase.raise_runtime_exception
method raise_runtime_exception
raise_runtime_exception(node: astx.AST, role: str, message: ir.Value, *, code: str) -> None
Source: packages/irx/src/irx/builder/protocols.py:168
Materialize a builtin nominal exception from native failure.
Parameters
-
node — Syntax node to process.; Type: astx.AST
-
role — Role.; Type: str
-
message — Diagnostic or output message.; Type: ir.Value
-
code — Source code or diagnostic identifier.; Type: str
Returns
Type: None