Runtime error types for tensor execution.
use tenferro_tensor::Error; let err = Error::AxisOutOfBounds { op: "dot_general", axis: 2, rank: 1, }; assert!(err.to_string().contains("dot_general"));