xerus
a general purpose tensor library
|
The xerus exception class. More...
#include <exceptions.h>
Public Member Functions | |
generic_error () | |
: Normal constructor without preset error_info. More... | |
generic_error (const generic_error &_other) noexcept | |
Standard copy constructor. More... | |
const char * | what () const noexcept override |
Public Attributes | |
std::string | error_info |
String containing all relevant information concerning this error. More... | |
The xerus exception class.
All exceptions thrown by xerus are of this type (or subclasses thereof).
Definition at line 37 of file exceptions.h.
xerus::misc::generic_error::generic_error | ( | ) |
: Normal constructor without preset error_info.
Definition at line 29 of file exceptions.cpp.
|
noexcept |
Standard copy constructor.
Definition at line 31 of file exceptions.cpp.
|
overridenoexcept |
Definition at line 34 of file exceptions.cpp.
std::string xerus::misc::generic_error::error_info |
String containing all relevant information concerning this error.
Definition at line 40 of file exceptions.h.