SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Sleak::SleakException Class Reference

#include <Exception.hpp>

Inheritance diagram for Sleak::SleakException:

Public Member Functions

 SleakException (const std::string &message)
virtual const char * what () const noexcept override

Protected Attributes

std::string message_

Detailed Description

Root of every Sleak-specific exception; carries a plain message string.

Definition at line 11 of file Exception.hpp.

Constructor & Destructor Documentation

◆ SleakException()

Sleak::SleakException::SleakException ( const std::string & message)
inline

Definition at line 13 of file Exception.hpp.

Member Function Documentation

◆ what()

virtual const char * Sleak::SleakException::what ( ) const
inlineoverridevirtualnoexcept

Definition at line 14 of file Exception.hpp.

Member Data Documentation

◆ message_

std::string Sleak::SleakException::message_
protected

Definition at line 17 of file Exception.hpp.