Skip to main content

Module error

Module error 

Source
Expand description

Error types for the sparse solver pipeline.

Provides SparseError, the unified error enum for all phases of the sparse solver (analysis, factorization, solve, and I/O). Implements std::error::Error and Display for integration with standard Rust error handling.

PartialEq is intentionally not derived because the NumericalSingularity variant contains f64, where NaN != NaN would cause subtle comparison bugs. Use matches!() for pattern-matching assertions in tests.

Enumsยง

SparseError
Errors that can occur during sparse solver operations.