10 #ifndef SAVELOAD_ERROR_HPP
11 #define SAVELOAD_ERROR_HPP
13 #include "../3rdparty/fmt/format.h"
14 #include "../strings_type.h"
16 [[noreturn]]
void SlError(
StringID string,
const std::string &extra_msg = {});
27 template <
typename ... Args>
28 [[noreturn]]
inline void SlErrorCorruptFmt(
const fmt::format_string<Args...> format, Args&&... fmt_args)
30 SlErrorCorrupt(fmt::format(format, std::forward<Args>(fmt_args)...));