[format.err.report]

# 28 Text processing library [[text]](./#text)

## 28.5 Formatting [[format]](format#err.report)

### 28.5.3 Error reporting [format.err.report]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L6648)

Formatting functions throw format_error if
an argument fmt is passed that
is not a format string for args[.](#1.sentence-1)

They propagate exceptions thrown by operations offormatter specializations and iterators[.](#1.sentence-2)

Failure to allocate storage is reported by
throwing an exception as described in [[res.on.exception.handling]](res.on.exception.handling "16.4.6.14 Restrictions on exception handling")[.](#1.sentence-3)
