Base NRPException class.
More...
#include <nrp_exceptions.h>
|
template<class T > |
| NRPException (T &&msg, bool msgLogged=false) |
|
| ~NRPException () override |
|
const char * | what () const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW override |
|
◆ NRPException()
template<class T >
NRPException::NRPException |
( |
T && |
msg, |
|
|
bool |
msgLogged = false |
|
) |
| |
|
inlineexplicit |
◆ ~NRPException()
NRPException::~NRPException |
( |
| ) |
|
|
overridedefault |
◆ logCreate() [1/4]
◆ logCreate() [2/4]
◆ logCreate() [3/4]
template<class EXCEPTION = NRPExceptionNonRecoverable>
Logs the given message to the output, then returns EXCEPTION type.
- Template Parameters
-
EXCEPTION | Exception type to return |
- Parameters
-
msg | Message to log and put into thrown exception |
spdlogCall | spdlog function to call for logging |
◆ logCreate() [4/4]
template<class EXCEPTION = NRPExceptionNonRecoverable, class LOG_EXCEPTION_T >
◆ logOnce()
template<class EXCEPTION >
◆ what()
const char * NRPException::what |
( |
| ) |
const |
|
override |
◆ _errMsg
std::string NRPException::_errMsg = "" |
|
protected |
The documentation for this class was generated from the following files: