KASSERT  0.0.1
Karlsruhe Assertion Library
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:

Public Member Functions

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

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: