error.hpp
Go to the documentation of this file.
ErrorAssert(const ErrorLocation &loc)
Constructor for assert error with standard error message.
Definition: error.cpp:320
ErrorDim(const ErrorLocation &loc)
Constructor for dimension mismatch error with standard error message.
Definition: error.cpp:335
ErrorErrno(const ErrorLocation &loc)
Constructor for errno based error with standard error message from errno database.
Definition: error.cpp:349
ErrorLocation()
Default constructor for error location.
Definition: error.cpp:216
ErrorNoMem(const ErrorLocation &loc)
Constructor for memory allocation error with standard error message.
Definition: error.cpp:291
ErrorRange(const ErrorLocation &loc, uint32_t i, uint32_t n, uint32_t j, uint32_t m)
Constructor for error message for two dimensional indexing error.
Definition: error.cpp:369
Error class to use if requested feature is unimplemented.
Definition: error.hpp:229
ErrorUnimplemented(const ErrorLocation &loc)
Constructor for unimplemented feature error with standard error message.
Definition: error.cpp:305
void print_error_message(std::ostream &os, bool traceprint=true)
Print a standard error message to os.
Definition: error.cpp:275
std::string get_error_message(void)
Return error message.
Definition: error.cpp:285
void print_trace(std::ostream &os)
Print the backtrace to os.
Definition: error.cpp:127
ExceptionTracer()
Default constructor for exception tracer. Saves the backtrace of the program at this location for pri...
Definition: error.cpp:84
static void signal_handler_SIGTERM(int signum)
Signal handler function for SIGTERM.
Definition: error.cpp:149
std::string to_string(const T &t)
Function for converting a type to string.
Definition: error.hpp:62
std::wstring to_wstring(const T &t)
Function for converting a type to string.
Definition: error.hpp:73