From cppreference.com
This header is part of the
library.
Classes
exception class to indicate violations of logical preconditions or class invariants
(class)
exception class to report invalid arguments
(class)
exception class to report domain errors
(class)
exception class to report attempts to exceed maximum allowed size
(class)
exception class to report arguments outside of expected range
(class)
exception class to indicate conditions only detectable at run time
(class)
exception class to report range errors in internal computations
(class)
exception class to report arithmetic overflows
(class)
exception class to report arithmetic underflows
(class)
Synopsis
namespacestd{classlogic_error;classdomain_error;classinvalid_argument;classlength_error;classout_of_range;classruntime_error;classrange_error;classoverflow_error;classunderflow_error;}Class
namespacestd{classlogic_error:publicexception{public:explicitlogic_error(conststring&what_arg);explicitlogic_error(constchar*what_arg);};}Class
namespacestd{classdomain_error:publiclogic_error{public:explicitdomain_error(conststring&what_arg);explicitdomain_error(constchar*what_arg);};}Class
namespacestd{classinvalid_argument:publiclogic_error{public:explicitinvalid_argument(conststring&what_arg);explicitinvalid_argument(constchar*what_arg);};}Class
namespacestd{classlength_error:publiclogic_error{public:explicitlength_error(conststring&what_arg);explicitlength_error(constchar*what_arg);};}Class
namespacestd{classout_of_range:publiclogic_error{public:explicitout_of_range(conststring&what_arg);explicitout_of_range(constchar*what_arg);};}Class
namespacestd{classruntime_error:publicexception{public:explicitruntime_error(conststring&what_arg);explicitruntime_error(constchar*what_arg);};}Class
namespacestd{classrange_error:publicruntime_error{public:explicitrange_error(conststring&what_arg);explicitrange_error(constchar*what_arg);};}Class
namespacestd{classoverflow_error:publicruntime_error{public:explicitoverflow_error(conststring&what_arg);explicitoverflow_error(constchar*what_arg);};}Class
namespacestd{classunderflow_error:publicruntime_error{public:explicitunderflow_error(conststring&what_arg);explicitunderflow_error(constchar*what_arg);};}See also
base class for exceptions thrown by the standard library components
(class)