Skip to main content

Module error

Module error 

Source
Expand description

Error type for the PLAID pipeline.

A single PlaidError enum covers every failure mode the crate surfaces to callers. Variants use #[from] where a clean ? conversion from a foreign error type makes sense, so the hot paths stay free of map_err boilerplate.

Variants are added incrementally as each module migrates off unwrap/expect. This commit introduces the enum and the Tensor variant for candle_core::Error propagation; later commits add InvalidCodec, InvalidIndex, and Io.

Enums§

PlaidError
Every failure the PLAID pipeline can surface.

Type Aliases§

Result
Crate-level Result alias. Every public function that can fail returns this.