Module errors

Module errors 

Source
Expand description

§Error Types - Kernel Operation Error Handling

Error types for kernel operations with structured error reporting. Provides context for debugging and error recovery in computational pipelines.

§Error Categories

  • Type Errors: Mismatched or unsupported data types
  • Dimension Errors: Array length and capacity mismatches
  • Operator Errors: Invalid operations for given operands
  • Boundary Errors: Out-of-bounds access and divide-by-zero conditions
  • Planning Errors: Configuration and setup failures

All errors include contextual message space for debugging.

Enums§

KernelError
Comprehensive error type for all kernel operations.

Functions§

log_length_mismatch
Creates a formatted error message for length mismatches between left-hand side (LHS) and right-hand side (RHS) arrays.