19
Diagnostics library
[diagnostics]
19.1
General
[diagnostics.general]
1
#
This Clause describes components that C++ programs may use to detect and report error conditions
.
2
#
The following subclauses describe components for reporting several kinds of exceptional conditions, documenting program assertions, obtaining stacktraces, and a global variable for error number codes, as summarized in Table
46
.
Table
46
— Diagnostics library summary
[tab:diagnostics.summary]
🔗
Subclause
Header
🔗
[std.
exceptions]
Exception classes
<
stdexcept
>
🔗
[assertions]
Assertions
<
cassert
>
🔗
[errno]
Error numbers
<
cerrno
>
🔗
[syserr]
System error support
<
system_
error
>
🔗
[stacktrace]
Stacktrace
<
stacktrace
>
🔗
[debugging]
Debugging
<
debugging
>