20 General utilities library [utilities]

20.20 Formatting [format]

20.20.3 Error reporting [format.err.report]

Formatting functions throw format_­error if an argument fmt is passed that is not a format string for args.
They propagate exceptions thrown by operations of formatter specializations and iterators.
Failure to allocate storage is reported by throwing an exception as described in [res.on.exception.handling].