NumericAL
A header-only C++20 lexer built on REAL
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
numerical::error Class Referenceabstract

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>

Inheritance diagram for numerical::error:
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~error()

virtual numerical::error::~error ( )
virtualdefault

◆ error() [1/3]

numerical::error::error ( )
protecteddefault

◆ error() [2/3]

numerical::error::error ( const error &  )
protecteddefault

◆ error() [3/3]

numerical::error::error ( error &&  )
protecteddefault

Member Function Documentation

◆ operator=() [1/2]

error & numerical::error::operator= ( const error &  )
protecteddefault

◆ operator=() [2/2]

error & numerical::error::operator= ( error &&  )
protecteddefault

◆ what()

virtual const char * numerical::error::what ( ) const
pure virtualnoexcept

The documentation for this class was generated from the following file: