hydromodpy.results.errors#

Typed exceptions for the results / reader layer.

Inherit from hydromodpy.core.exceptions.CatalogError. Multiple inheritance with the historical stdlib parent (KeyError / FileNotFoundError) preserves backward-compatibility with callers that caught the raw exception type. New code should catch the typed exception.

Exceptions

FieldNotFoundError([message, sim_id, run_id])

A field name is registered but absent from the simulation store.

ProjectNotFoundError([message, sim_id, run_id])

A project root or its hydromodpy.toml is missing.

RunNotFoundError([message, sim_id, run_id])

A sim_id does not exist in the catalog.

SchemaVersionMismatchError([message, ...])

Stored schema version differs from the runner's target version.