| 579 | FMT_NORETURN FMT_API void throw_format_error(const char* message); |
| 580 | |
| 581 | struct 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. */ |
no outgoing calls
no test coverage detected