Exception for recoverable errors. More...
#include <nrp_exceptions.h>
Public Member Functions | |
template<class T > | |
NRPExceptionRecoverable (T &&msg, bool msgLogged=false) | |
~NRPExceptionRecoverable () override | |
![]() | |
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 | |
![]() | |
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) |
![]() | |
std::string | _errMsg = "" |
Exception for recoverable errors.
|
inlineexplicit |
|
overridedefault |