9#if defined(FMT_VERSION)
11struct fmt::formatter<
CppCommon::Exception> : formatter<std::string_view>
13 template <
typename FormatContext>
16 return formatter<string_view>::format(value.
string(), ctx);
virtual std::string string() const
Get string from the current exception.
C++ Common project definitions.
std::string format(fmt::format_string< T... > pattern, T &&... args)
Format string.