Skip to content
Raul Montoya Cardenas edited this page Jul 29, 2026 · 2 revisions

Errors

Wiki hero

Generated with Grok Build: Grok 4.5 · xAI Imagine (/imagine)

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)

Clone this wiki locally