Expand description
Error types for the apex-solver library
This module provides the main error and result types used throughout the library.
All errors use the thiserror crate for automatic trait implementations.
§Error Hierarchy
The library uses a hierarchical error system where:
ApexSolverErroris the top-level error exposed to users via public APIs- Module errors (
CoreError,OptimizerError, etc.) are wrapped inside ApexSolverError - Error sources are preserved, allowing full error chain inspection
Example error chain:
ApexSolverError::Core(
CoreError::SymbolicStructure {
message: "Duplicate variable index",
context: "Variable 'x42' at position 15"
}
)Enums§
- Apex
Solver Error - Main error type for the apex-solver library
Type Aliases§
- Apex
Solver Result - Main result type used throughout the apex-solver library