cppreference.com
Create account
Log in
Namespaces
Template
Discussion
Variants
Views
View
Edit
History
Actions
Template:cpp/error/navbar
From cppreference.com
C++
Compiler support
Freestanding and hosted
Language
Standard library
Standard library headers
Named requirements
Feature test macros
(C++20)
Language support library
Concepts library
(C++20)
Metaprogramming library
(C++11)
Diagnostics library
General utilities library
Strings library
Containers library
Iterators library
Ranges library
(C++20)
Algorithms library
Numerics library
Localizations library
Input/output library
Filesystem library
(C++17)
Regular expressions library
(C++11)
Concurrency support library
(C++11)
Execution support library
(C++26)
Technical specifications
Symbols index
External libraries
[edit]
Diagnostics library
Exception handling
exception
uncaught_exception
uncaught_exceptions
(
until C++20*
)
(C++17)
exception_ptr
(C++11)
make_exception_ptr
(C++11)
current_exception
(C++11)
rethrow_exception
(C++11)
nested_exception
(C++11)
throw_with_nested
(C++11)
rethrow_if_nested
(C++11)
Exception handling failures
terminate
terminate_handler
get_terminate
(C++11)
set_terminate
bad_exception
unexpected
(
until C++17*
)
unexpected_handler
(
until C++17*
)
get_unexpected
(
until C++17*
)
set_unexpected
(
until C++17*
)
Error numbers
Error codes
errno
Assertions
assert
Exception categories
logic_error
invalid_argument
domain_error
length_error
out_of_range
runtime_error
range_error
overflow_error
underflow_error
tx_exception
(TM TS)
System error
error_category
(C++11)
generic_category
(C++11)
system_category
(C++11)
error_condition
(C++11)
errc
(C++11)
error_code
(C++11)
system_error
(C++11)
Stacktrace
stacktrace_entry
(C++23)
basic_stacktrace
(C++23)
Debugging support
is_debugger_present
(C++26)
breakpoint_if_debugging
(C++26)
breakpoint
(C++26)
[edit]