std::exception (3) - Linux Manuals
std::exception: std::exception
NAME
std::exception - std::exception
Synopsis
Defined in header <exception>
class exception;
Provides consistent interface to handle errors through the throw_expression.
All exceptions generated by the standard library inherit from std::exception
* logic_error
* bad_optional_access(C++17)
* runtime_error
* bad_typeid
* bad_cast
* bad_weak_ptr(C++11)
* bad_function_call(C++11)
* bad_alloc
* bad_exception
* ios_base::failure(until C++11)
* bad_variant_access(C++17)
Member functions
constructor (public member function)
destructor destroys the exception object
[virtual]
operator= (public member function)
what returns an explanatory string
[virtual]