//! Error handling for tensor operations
//!
//! This module contains various error types used throughout the tensor library,
//! organized by their domains (shape, device, memory, kernel, etc.)
/// Autograd-related errors (gradient computation, etc.)
/// Base error types and common functionality
/// Common errors
/// Device-related errors (GPU, CPU, etc.)
/// Kernel-related errors (CUDA, etc.)
/// Memory allocation and management errors
/// Parameter-related errors (function arguments, etc.)
/// Random distribution-related errors
/// Shape-related errors (dimension mismatch, broadcasting, etc.)