API reference

python:irx:irx.analysis.ImportResolutionError

class ImportResolutionError

Source: packages/irx/src/irx/analysis/module_interfaces.py:23

Declared as: python:irx:irx.analysis.module_interfaces.ImportResolutionError

Expected host failure while resolving or parsing an import.

Hosts raise this type for user-actionable import failures. Unexpected resolver exceptions cross the IRx boundary unchanged so compiler bugs are not mislabeled as source diagnostics.

Search documentation

Type to search.