nnlib
GPU-accelerated, C/C++ neural network library.
unsupported_operation_exception.h
Go to the documentation of this file.
1 
8 #ifndef NNLIB_UNSUPPORTED_OPERATION_EXCEPTION_H
9 #define NNLIB_UNSUPPORTED_OPERATION_EXCEPTION_H
10 
11 #include <exception>
12 
19 class UnsupportedOperationException : public std::exception {
20 
26  [[nodiscard]] const char* what() const noexcept override;
27 };
28 
29 
30 #endif //NNLIB_UNSUPPORTED_OPERATION_EXCEPTION_H
Exception to be thrown when an invalid operation is to be performed.
Definition: unsupported_operation_exception.h:19
const char * what() const noexcept override
Return the exception description.
Definition: unsupported_operation_exception.cpp:10