MCPcopy Create free account
hub / github.com/LemLib/LemLib / error_handler

Class error_handler

include/fmt/core.h:581–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579FMT_NORETURN FMT_API void throw_format_error(const char* message);
580
581struct error_handler {
582 constexpr error_handler() = default;
583
584 // This function is intentionally not constexpr to give a compile-time error.
585 FMT_NORETURN void on_error(const char* message) { throw_format_error(message); }
586};
587} // namespace detail
588
589/** Throws ``format_error`` with a given message. */

Callers 2

vformat_toFunction · 0.85
on_errorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected