Specs
Beautiful C++ Test Framework
Loading...
Searching...
No Matches
SpecsCpp::SpecExceptionMessage Class Reference

#include <SpecExceptionMessage.h>

Inheritance diagram for SpecsCpp::SpecExceptionMessage:
SpecsCpp::ILocalSpecExceptionHandler::IExceptionMessage

Public Member Functions

 SpecExceptionMessage (std::string_view message)
 
const char * message () const override
 
virtual const char * message () const =0
 

Detailed Description

Definition at line 10 of file SpecExceptionMessage.h.

Constructor & Destructor Documentation

◆ SpecExceptionMessage()

SpecsCpp::SpecExceptionMessage::SpecExceptionMessage ( std::string_view  message)
inline

Definition at line 14 of file SpecExceptionMessage.h.

14: _message(message) {}
const char * message() const override

Member Function Documentation

◆ message()

const char * SpecsCpp::SpecExceptionMessage::message ( ) const
inlineoverridevirtual

Implements SpecsCpp::ILocalSpecExceptionHandler::IExceptionMessage.

Definition at line 16 of file SpecExceptionMessage.h.

16{ return _message.c_str(); }

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