|
NumericAL
A header-only C++20 lexer built on REAL
|
What every exception NumericAL throws is, beside its standard base (all but std::bad_alloc and std::system_error, the allocator's and the system's): catch (const numerical::error&) catches each of them, and catch (const std::domain_error&) (its standard base) still catches a non_finite_error. Not a std::exception itself, so that each keeps the standard base it has; what gives the message.
More...
#include <vector.hpp>
Public Member Functions | |
| virtual | ~error ()=default |
| virtual const char * | what () const noexcept=0 |
The message, as std::exception::what gives it. | |
Protected Member Functions | |
| error ()=default | |
| error (const error &)=default | |
| error (error &&)=default | |
| error & | operator= (const error &)=default |
| error & | operator= (error &&)=default |
What every exception NumericAL throws is, beside its standard base (all but std::bad_alloc and std::system_error, the allocator's and the system's): catch (const numerical::error&) catches each of them, and catch (const std::domain_error&) (its standard base) still catches a non_finite_error. Not a std::exception itself, so that each keeps the standard base it has; what gives the message.
Definition at line 39 of file vector.hpp.
|
virtualdefault |
|
protecteddefault |
|
protecteddefault |
The message, as std::exception::what gives it.
Implemented in numerical::detail::tagged< Std >, numerical::detail::tagged< std::domain_error >, numerical::detail::tagged< std::invalid_argument >, numerical::detail::tagged< std::out_of_range >, and numerical::detail::tagged< std::runtime_error >.