kassert  0.2.2
Assertion library for KaMPIng
Loading...
Searching...
No Matches
kassert::KassertException Class Reference

The default exception type used together with THROWING_KASSERT. Reports the erroneous expression together with a custom error message. More...

#include <kassert.hpp>

Inheritance diagram for kassert::KassertException:
Collaboration diagram for kassert::KassertException:

Public Member Functions

 KassertException (std::string message)
 Constructs the exception.
 
char const * what () const noexcept final
 Gets a description of this exception.
 

Detailed Description

The default exception type used together with THROWING_KASSERT. Reports the erroneous expression together with a custom error message.

Constructor & Destructor Documentation

◆ KassertException()

kassert::KassertException::KassertException ( std::string message)
inlineexplicit

Constructs the exception.

Parameters
messageA custom error message.

Member Function Documentation

◆ what()

char const * kassert::KassertException::what ( ) const
inlinefinalnoexcept

Gets a description of this exception.

Returns
A description of this exception.

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