1.7 KiB
1.7 KiB
[diagnostics.general]
19 Diagnostics library [diagnostics]
19.1 General [diagnostics.general]
This Clause describes components that C++ programs may use to detect and report error conditions.
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 49.
Table 49 — Diagnostics library summary [tab:diagnostics.summary]
| ð | Subclause | Header |
|---|---|---|
| ð [std.exceptions] |
Exception classes | |
| ð [assertions] |
Assertions | |
| ð [errno] |
Error numbers | |
| ð [syserr] |
System error support | <system_error> |
| ð [stacktrace] |
Stacktrace | |
| ð [debugging] |
Debugging |