jaulib v1.3.6
Jau Support Library (C++, Java, ..)
|
#include <math_error.hpp>
Public Member Functions | |
math_error_t | error () const noexcept |
![]() | |
ExceptionBase (const ExceptionBase &o) noexcept=default | |
ExceptionBase (ExceptionBase &&o) noexcept=default | |
virtual | ~ExceptionBase () noexcept=default |
const std::string & | backtrace () const noexcept |
Returns optional whole backtrace. | |
const std::string & | brief_message () const noexcept |
Returns brief message. | |
operator const std::string & () const noexcept | |
Allow conversion to const std::string& using brief_message(), as required by Catch2's REQUIRE_THROWS_MATCHES | |
std::ostream & | operator<< (std::ostream &out) noexcept |
ExceptionBase & | operator= (const ExceptionBase &o) noexcept=default |
ExceptionBase & | operator= (ExceptionBase &&o) noexcept=default |
virtual const char * | what () const noexcept |
const std::string & | whole_message () const noexcept |
Returns brief message and optional whole backtrace, i.e. | |
Protected Member Functions | |
MathErrorBase (math_error_t err, std::string const &m, const char *file, int line) noexcept | |
![]() | |
ExceptionBase (std::string &&type, std::string const &m, const char *file, int line) noexcept | |
Definition at line 65 of file math_error.hpp.
|
inlineprotectednoexcept |
|
noexcept |