Errors¶
Every error the package raises on purpose derives from
MllmShapError and from the closest built-in exception.
Typed errors raised by mllm-shap pipeline components.
Every error derives from MllmShapError, so except MllmShapError catches
anything the package raises on purpose. Each error also derives from the closest
built-in exception, so existing except ValueError or except LookupError
handlers keep working.
@domain core @see [[knowledge/architecture/core]]
- exception mllm_shap.errors.MllmShapError[source]¶
Bases:
ExceptionRoot of every error raised on purpose by mllm-shap.
- exception mllm_shap.errors.PluginNotFoundError[source]¶
Bases:
LookupError,MllmShapErrorRaised when no plugin is registered under the requested group and name.
- exception mllm_shap.errors.PluginConflictError[source]¶
Bases:
ValueError,MllmShapErrorRaised when a plugin name is registered twice without
replace=True.
- exception mllm_shap.errors.PluginLoadError(message: str, entry_point_name: str)[source]¶
Bases:
ImportError,MllmShapErrorRaised when a packaging entry point cannot be imported.
- entry_point_name¶
Name of the entry point whose
load()failed.
- exception mllm_shap.errors.ConfigError[source]¶
Bases:
ValueError,MllmShapErrorRaised when configuration values are invalid or inconsistent.
Bases:
RuntimeError,MllmShapErrorRaised when a configured generative backend cannot be reached.
Bases:
BackendUnavailableErrorRaised when a value function needs token logprobs a generation lacks.
- exception mllm_shap.errors.ArchiveExistsError[source]¶
Bases:
FileExistsError,MllmShapErrorRaised when a run archive already exists and
on_existsis"error".
- exception mllm_shap.errors.ManifestVersionError[source]¶
Bases:
ValueError,MllmShapErrorRaised when a run manifest or archive uses an unsupported schema version.
- exception mllm_shap.errors.ReanalyzeMismatchError[source]¶
Bases:
ValueError,MllmShapErrorRaised when reanalyze settings disagree with the archived run.
- exception mllm_shap.errors.ArchiveIncompleteError[source]¶
Bases:
ValueError,MllmShapErrorRaised when reanalyze meets an archive of a run that did not finish.
- exception mllm_shap.errors.ArchiveNotFoundError[source]¶
Bases:
FileNotFoundError,MllmShapErrorRaised when a run archive lacks its manifest or SQLite database.
- exception mllm_shap.errors.ArchiveCorruptError[source]¶
Bases:
ValueError,MllmShapErrorRaised when a run archive or its manifest cannot be read or parsed.