jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Public Member Functions | List of all members
jau::math::MathError Class Reference

#include <math_error.hpp>

Inheritance diagram for jau::math::MathError:
Collaboration diagram for jau::math::MathError:

Public Member Functions

 MathError (math_error_t err, std::string const &m, const char *file, int line) noexcept
 
math_error_t error () const noexcept
 
- Public Member Functions inherited from jau::RuntimeException
 RuntimeException (const RuntimeException &o)=default
 
 RuntimeException (RuntimeException &&o)=default
 
 RuntimeException (std::string const &m, const char *file, int line) noexcept
 
 ~RuntimeException () noexcept override=default
 
RuntimeExceptionoperator= (const RuntimeException &o)=default
 
RuntimeExceptionoperator= (RuntimeException &&o)=default
 
const char * what () const noexcept override
 
- Public Member Functions inherited from jau::ExceptionBase
 ExceptionBase (const ExceptionBase &o)=default
 
 ExceptionBase (ExceptionBase &&o)=default
 
virtual ~ExceptionBase () noexcept=default
 
const std::string & backtrace () const noexcept
 
const std::string & message () const noexcept
 
 operator const std::string & () const noexcept
 Allow conversion to const std::string&, as required by Catch2's REQUIRE_THROWS_MATCHES More...
 
std::ostream & operator<< (std::ostream &out) noexcept
 
ExceptionBaseoperator= (const ExceptionBase &o)=default
 
ExceptionBaseoperator= (ExceptionBase &&o)=default
 
virtual const char * what () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from jau::RuntimeException
 RuntimeException (std::string type, std::string const &m, const char *file, int line) noexcept
 
- Protected Member Functions inherited from jau::ExceptionBase
 ExceptionBase (std::string type, std::string const &m, const char *file, int line) noexcept
 

Detailed Description

Definition at line 61 of file math_error.hpp.

Constructor & Destructor Documentation

◆ MathError()

jau::math::MathError::MathError ( math_error_t  err,
std::string const &  m,
const char *  file,
int  line 
)
inlinenoexcept

Definition at line 66 of file math_error.hpp.

Member Function Documentation

◆ error()

math_error_t jau::math::MathError::error ( ) const
noexcept

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