API reference
python:irx:irx.builder.runtime.linking._run_checked
function _run_checked
_run_checked(command: Sequence[str], *, error_type: type[NativeCompileError] | type[LinkingError], phase: str, code: str, message: str, notes: Sequence[str] = (), hint: str | None = None) -> None
Source: packages/irx/src/irx/builder/runtime/linking.py:265
Run checked.
Parameters
-
command — Command.; Type: Sequence[str]
-
error_type — Type of error.; Type: type[NativeCompileError] | type[LinkingError]
-
phase — Phase.; Type: str
-
code — Source code or diagnostic identifier.; Type: str
-
message — Diagnostic or output message.; Type: str
-
notes — Notes.; Type: Sequence[str]
-
hint — Hint.; Type: str | None
Returns
Type: None