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:187
Materialize a builtin nominal exception from native failure.
Parameters
-
node — Type: astx.AST
-
role — Type: str
-
message — Type: ir.Value
-
code — Type: str