Skip to main content

Module error

Module error 

Source
Expand description

Failures the matrix and dataset builders raise.

Error carries what this crate constructs and wraps powerio::Error for everything the hub raises underneath, so ? moves a hub failure across the boundary without restating it. A caller that only wants the coarse split reads Error::category, which is the same taxonomy the hub uses.

Structs§

ElementCounts
The element counts that define a scenario batch’s shared base shape. Named (rather than a bare (usize, usize, usize)) so the three same-typed fields can’t be transposed silently in an error message or a comparison.

Enums§

Error
A matrix, sensitivity, or dataset failure.
ScenarioMismatch
Why a gridfm scenario snapshot doesn’t line up with the first snapshot’s base element set (the row-stack keeps every table schema-consistent by requiring the same element counts and bus-id ordering across snapshots).

Type Aliases§

Result
The result type every fallible entry point in this crate returns.