-
Notifications
You must be signed in to change notification settings - Fork 0
Errors
Raul Montoya Cardenas edited this page Jul 29, 2026
·
2 revisions
src/error.rs
pub enum CortexError { ... }
pub type HybridError = CortexError; // corinth-canal port alias
pub type Result<T> = std::result::Result<T, CortexError>;| Variant | Domain |
|---|---|
ShapeMismatch |
Tensor shapes |
MatmulDim |
Matmul inner dim |
IndexOutOfBounds |
Axis index |
InvalidConfig |
Config / override / expert counts |
ModelLoad |
Path + reason |
UnsupportedFormat |
Quant / arch / tensor layout |
MissingTensor |
Named tensor absent |
InputLengthMismatch |
Embedding / id length |
OlmoeForward |
Router forward failures |
Io / Serde
|
From std / json |
Msg |
Catch-all string |
Last updated: July 29, 2026
Updated by: Grok Build: Grok 4.5
Package tip reference: 37c5a21 (main)