25 std::string_view function_call,
26 std::string_view what,
27 const std::string &fmt_string,
28 std::source_location loc) {
namespace for backends this one is named only sham since shambackends is too long to write
void set_format_exception_builder(format_except_builder_t callback)
Install a custom builder for format exceptions.
fmt::format_error format_error
Alias for fmt::format_error, the exception type thrown by format errors.
format_except_builder_t internal_func_ptr_make_format_exception
sham::format_error make_format_exception(std::string_view function_call, std::string_view what, const std::string &fmt_string, std::source_location loc=std::source_location::current())
Create a format error exception.
sham::format_error(*)( std::string_view, std::string_view, const std::string &, std::source_location) format_except_builder_t
Type alias for a custom format exception builder function.
format_except_builder_t get_format_exception_builder() noexcept
Get the current format exception builder.