 |
OGS
|
Go to the documentation of this file.
18#define OGS_FATAL(...) \
20 BaseLib::console->critical("{}:{} {}() ", __FILE__, __LINE__, \
21 __FUNCTION__, fmt::format(__VA_ARGS__)); \
26#define OGS_FATAL(...) \
28 auto const formatted_va_args = fmt::format(__VA_ARGS__); \
29 BaseLib::console->critical("{}:{} {}() ", __FILE__, __LINE__, \
30 __FUNCTION__, formatted_va_args); \
31 throw std::runtime_error(formatted_va_args); \