A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../identifier_with_special_meaning/../error.html below:

Diagnostics library - cppreference.com

[edit] Exception handling

The header <exception> provides several classes and functions related to exception handling in C++ programs.

[edit] Exception categories

Several convenience classes are predefined in the header <stdexcept> 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 cannot easily be predicted.

[edit] Error numbers [edit] System error (since C++11)

The header <system_error> defines types and functions used to report error conditions originating from the operating system, streams I/O, std::future, or other low-level APIs.

[edit] Assertions

Assertions help to implement checking of preconditions in programs.

aborts the program if the user-specified condition is not true. May be disabled for release builds.
(function macro) [edit] [edit] Stacktrace (since C++23) representation of an evaluation in a stacktrace
(class) [edit] approximate representation of an invocation sequence consists of stacktrace entries
(class template) [edit] [edit] Debugging support (since C++26) [edit] See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4