13 #include "3rdparty/fmt/format.h"
15 [[noreturn]]
void UserErrorI(
const std::string &str);
16 [[noreturn]]
void FatalErrorI(
const std::string &str);
17 #define UserError(format_string, ...) UserErrorI(fmt::format(FMT_STRING(format_string) __VA_OPT__(,) __VA_ARGS__))
18 #define FatalError(format_string, ...) FatalErrorI(fmt::format(FMT_STRING(format_string) __VA_OPT__(,) __VA_ARGS__))
void FatalErrorI(const std::string &str)
Error handling for fatal non-user errors.
void UserErrorI(const std::string &str)
Error handling for fatal user errors.