#include <stdexcept>
#include <string>
#include <sstream>
#include <map>
#include "tdf_error_codes.h"
#include "logger.h"
Go to the source code of this file.
|
#define | EXPAND(x) x |
|
#define | GET_MACRO(_1, _2, NAME,...) NAME |
|
#define | ThrowException(...) EXPAND(EXPAND(GET_MACRO(__VA_ARGS__, ThrowExceptionCode, ThrowExceptionNoCode))(__VA_ARGS__)) |
|
#define | ThrowExceptionNoCode(message) virtru::_ThrowVirtruException(message, __SOURCE_FILENAME__, __LINE__) |
|
#define | ThrowExceptionCode(message, code) virtru::_ThrowVirtruException(message, __SOURCE_FILENAME__, __LINE__, code) |
|
|
void | virtru::_ThrowVirtruException (std::string &&errorStringPrefix, const char *fileName, unsigned int lineNumber, int code=VIRTRU_GENERAL_ERROR) |
|
#define GET_MACRO |
( |
|
_1, |
|
|
|
_2, |
|
|
|
NAME, |
|
|
|
... |
|
) |
| NAME |