c_plus_plus_error
Table of Contents
C++ Error handling
Exception handling
The header
provides several classes and functions related to exception handling in C++ programs.
Exception categories
Several convenience classes are predefined in the header
to report particular error conditions. These classes can be divided into two categories: logic errors and runtime errors. Logic errors are a consequence of faulty logic within the program and may be preventable. Runtime errors are due to events beyond the scope of the program and can not be easily predicted.
}}
Error numbers
System error
The header
defines types and functions used to report error conditions originating from the operating system, streams I/O,
, or other low-level APIs.
Assertions
Assertions help to implement checking of preconditions in programs.
[[cpp/utility/basic_stacktrace|Stacktrace]]
See also
c_plus_plus_error.txt · Last modified: 2024/05/01 04:23 by 127.0.0.1