Expand description
Custom Python exception classes for better error handling
Structs§
- Device
Error - Device operation error
- Error
Context - Enhanced error context for Python exceptions
- Memory
Error - Memory management error
- Numerical
Error - Numerical computation error
- Shape
Error - Tensor shape related error
- Tensor
Error - Tensor operation error
- Torsh
Error - Base exception for ToRSh operations
Functions§
- create_
enhanced_ exception - Create enhanced Python exception with context
- create_
numerical_ error - Utility function to create numerical errors with recovery suggestions
- create_
shape_ error - Utility function to create tensor shape errors with helpful suggestions
- register_
exceptions - Register exception types with Python module