Skip to main content

Module errors

Module errors 

Source
Available on crate feature encoder only.
Expand description

The pipeline’s user-actionable error type.

Mirrors xuebuild/errors.py: everything a user can fix (a bad GRIB file, a missing record, an axis that is not on the model’s cadence) is an EncodeError, which the CLI turns into error: … and exit code 2. Anything else is a bug and panics or bubbles up as anyhow::Error.

Structs§

EncodeError
One message, whatever stage raised it: nothing matches on the kind, and the CLI prints every one the same way. The constructors name the stage at the call site.

Type Aliases§

Result