error.hpp
Go to the documentation of this file.
ErrorErrno(const ErrorLocation &loc)
Constructor for errno based error with standard error message from errno database.
Definition: error.cpp:348
ErrorLocation()
Default constructor for error location.
Definition: error.cpp:215
void print_trace(std::ostream &os)
Print the backtrace to os.
Definition: error.cpp:126
void print_error_message(std::ostream &os, bool traceprint=true)
Print a standard error message to os.
Definition: error.cpp:274
ErrorDim(const ErrorLocation &loc)
Constructor for dimension mismatch error with standard error message.
Definition: error.cpp:334
std::string to_string(const T &t)
Function for converting a type to string.
Definition: error.hpp:62
ErrorNoMem(const ErrorLocation &loc)
Constructor for memory allocation error with standard error message.
Definition: error.cpp:290
ErrorAssert(const ErrorLocation &loc)
Constructor for assert error with standard error message.
Definition: error.cpp:319
static void signal_handler_SIGTERM(int signum)
Signal handler function for SIGTERM.
Definition: error.cpp:148
std::string get_error_message(void)
Return error message.
Definition: error.cpp:284
Error class to use if requested feature is unimplemented.
Definition: error.hpp:218
ExceptionTracer()
Default constructor for exception tracer. Saves the backtrace of the program at this location for pri...
Definition: error.cpp:83
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:367
ErrorUnimplemented(const ErrorLocation &loc)
Constructor for unimplemented feature error with standard error message.
Definition: error.cpp:304
std::string func(void)
Return function name of location.
Definition: error.cpp:241