Exception for non-recoverable errors. More...
#include <nrp_exceptions.h>
Public Member Functions | |
| template<class T > | |
| NRPExceptionNonRecoverable (T &&msg, bool msgLogged=false) | |
| ~NRPExceptionNonRecoverable () override | |
Public Member Functions inherited from NRPException | |
| template<class T > | |
| NRPException (T &&msg, bool msgLogged=false) | |
| ~NRPException () override | |
| const char * | what () const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW override |
Additional Inherited Members | |
Static Public Member Functions inherited from NRPException | |
| template<class EXCEPTION > | |
| static void | logOnce (EXCEPTION &exception, NRPLogger::spdlog_out_fcn_t spdlogCall=NRPLogger::critical) |
| template<class EXCEPTION = NRPExceptionNonRecoverable, class LOG_EXCEPTION_T > | |
| static EXCEPTION | logCreate (LOG_EXCEPTION_T &exception, const std::string &msg, NRPLogger::spdlog_out_fcn_t spdlogCall=NRPLogger::critical) |
| template<class EXCEPTION = NRPExceptionNonRecoverable> | |
| static EXCEPTION | logCreate (const std::string &msg, NRPLogger::spdlog_out_fcn_t spdlogCall=NRPLogger::critical) |
| Logs the given message to the output, then returns EXCEPTION type. More... | |
| template<> | |
| void | logCreate (const std::string &msg, NRPLogger::spdlog_out_fcn_t spdlogCall) |
| template<> | |
| void | logCreate (const std::string &msg, NRPLogger::spdlog_out_fcn_t spdlogCall) |
Protected Attributes inherited from NRPException | |
| std::string | _errMsg = "" |
Exception for non-recoverable errors.
|
inlineexplicit |
|
overridedefault |