HpxError
PythonBase exception for all heliaPROFILER errors.
HpxError(message: str, *, hint: str | None = None) -> NoneThe exception hierarchy every heliaPROFILER failure is raised through, rooted at HpxError.
Every name on this page is imported from helia_profiler.
API tier: stable, experimental
Generated from the src/helia_profiler tree fe269596788d6ab1604cf433559e96b5f48c1d13.
HpxErrorclassBase exception for all heliaPROFILER errors.ConfigErrorclassBad configuration — missing model path, invalid YAML, unknown board.PlatformErrorclassUnsupported board/SoC combination or missing platform capability.EngineErrorclassEngine adapter failure — AOT compile error, missing static lib, etc.FirmwareErrorclassFirmware generation failure — template rendering, file I/O.BuildErrorclassNSX configure / build / flash / lock / sync failure.CaptureErrorclassData capture failure — serial timeout, corrupt data, SWO framing.DeterministicCaptureErrorclassA capture-path refusal no retry or power cycle can change.NetworkErrorclassTransient network failure during sync/lock (git fetch, module download).DependencyErrorclassDeterministic dependency lock/workspace failure (base class).VersionErrorclassA tool, package, engine, or lock schema version is incompatible.LockErrorclassA dependency lock file or its recorded provenance is unusable.PowerErrorclassPower measurement failure — Joulescope not found, calibration error.ReportErrorclassReport generation failure — output path not writable, format error.Base exception for all heliaPROFILER errors.
HpxError(message: str, *, hint: str | None = None) -> NoneBad configuration — missing model path, invalid YAML, unknown board.
ConfigError()Bad configuration — missing model path, invalid YAML, unknown board.
API tier: stable
Unsupported board/SoC combination or missing platform capability.
PlatformError()Unsupported board/SoC combination or missing platform capability.
API tier: stable
Engine adapter failure — AOT compile error, missing static lib, etc.
EngineError()Engine adapter failure — AOT compile error, missing static lib, etc.
API tier: stable
Firmware generation failure — template rendering, file I/O.
FirmwareError()Firmware generation failure — template rendering, file I/O.
API tier: stable
NSX configure / build / flash / lock / sync failure.
BuildError(message: str, *, hint: str | None = None, returncode: int | None = None, details: str | None = None) -> NoneNSX configure / build / flash / lock / sync failure.
Carries the underlying tool’s diagnostic output (cmake / ninja /
SEGGER commander / git stderr, NSX exception message, etc.) in
:attr:details. When the source is a real subprocess, the original
return code is also captured in :attr:returncode.
API tier: stable
returncode = returncodedetails = detailsData capture failure — serial timeout, corrupt data, SWO framing.
CaptureError()Data capture failure — serial timeout, corrupt data, SWO framing.
API tier: stable
A capture-path refusal no retry or power cycle can change.
DeterministicCaptureError()A capture-path refusal no retry or power cycle can change.
Subclass of :class:CaptureError so existing except CaptureError
handlers still catch it, but recovery paths that would otherwise cycle the
target rail and retry (stages.flash.deploy_firmware) re-raise it
instead: these are configuration/artifact gaps — a missing image, an
unknown load address — and cycling the rail only frames them as flaky
hardware.
API tier: stable
Transient network failure during sync/lock (git fetch, module download).
NetworkError()Transient network failure during sync/lock (git fetch, module download).
Subclass of :class:BuildError so existing except BuildError handlers
still catch it, but callers that want to retry can specifically catch this.
API tier: stable
Deterministic dependency lock/workspace failure (base class).
DependencyError()Deterministic dependency lock/workspace failure (base class).
Covers workspace fingerprinting, override, and provenance-collection
failures that are neither a version mismatch nor a lock-file problem.
Prefer :class:VersionError or :class:LockError when a failure is
specifically about an incompatible version or a missing/corrupt lock.
API tier: experimental
A tool, package, engine, or lock schema version is incompatible.
VersionError()A tool, package, engine, or lock schema version is incompatible.
Raised when an installed version fails a compatibility baseline check (schema version, minimum/maximum engine version, pinned package version) so callers can distinguish “wrong version” from other dependency failures and surface an actionable upgrade/downgrade hint.
API tier: experimental
A dependency lock file or its recorded provenance is unusable.
LockError()A dependency lock file or its recorded provenance is unusable.
Raised for a missing, unreadable, structurally invalid, or
drifted nsx.lock / hpx-dependencies.json, so field-diagnostics
collectors can skip just the lock-provenance section instead of
failing an entire report.
API tier: experimental
Power measurement failure — Joulescope not found, calibration error.
PowerError()Power measurement failure — Joulescope not found, calibration error.
API tier: stable
Report generation failure — output path not writable, format error.
ReportError()Report generation failure — output path not writable, format error.
API tier: stable
Machine-readable: errors.json · errors.md, complete and lossless.