class
SushiAI::Error
The exception every SushiAI failure surfaces as.
- Declared in
include/SushiAI/core/common.hpp- Inherits
std::runtime_error
A distinct type so a caller can tell a SushiAI contract violation from a SushiBLAS or SushiRuntime one without string matching. It derives from std::runtime_error so a caller that does not care still catches it.
Public member functions
explicit Error(const std::string &message)Constructs the exception from a fully formatted message.
Parameters
messageThe message, already formatted; copied.

