10 public std::exception {
24 void ScopeExceptionHandler(
const std::string& _origin,
const bool& _log =
true,
const bool& _showmessagebox =
false,
const bool& _trace =
true,
const bool& _rethrow =
false);
Simple exception class for Scope.
void __ScopeExceptionHandlerHelper(const std::string &_msg, const bool &_log, const bool &_showmessagebox, const bool &_trace)
Helper function that actually handles the logging to the ScopeLogger.
void __ScopeExceptionHandlerHelperW(const std::wstring &_msg, const bool &_log, const bool &_showmessagebox, const bool &_trace)
Helper function that actually handles the logging to the ScopeLogger (wide string version) ...
void ScopeExceptionHandler(const std::string &_origin, const bool &_log, const bool &_showmessagebox, const bool &_trace, const bool &_rethrow)
Handles all exceptions and does nice logging.
ScopeException(const char *msg)
Construct with a message.