Exception type thrown if a problem with the SYCL backend occurs.
More...
#include <exceptions.hpp>
Exception type thrown if a problem with the SYCL backend occurs.
◆ backend_exception() [1/2]
Construct a new exception forwarding the exception message and source location to plssvm::exception.
- Parameters
-
[in] | msg | the exception's what() message |
[in] | loc | the exception's call side information |
◆ backend_exception() [2/2]
Construct a new exception forwarding the exception message and source location to plssvm::exception.
- Parameters
-
[in] | msg | the exception's what() message |
[in] | class_name | the name of the thrown exception class |
[in] | loc | the exception's call side information |
◆ loc()
Returns the information of the call side where the exception was thrown.
- Returns
- the exception's call side information (
[[nodiscard]]
)
◆ what_with_loc()
std::string plssvm::exception::what_with_loc |
( |
| ) |
const |
|
inherited |
Returns a string containing the exception's what()
message, the name of the thrown exception class, and information about the call side where the exception has been thrown.
- Returns
- the exception's
what()
message including source location information ([[nodiscard]]
)
The documentation for this class was generated from the following file: