R-Type  2
Doom but in better
Loading...
Searching...
No Matches
CustomExceptions::NoButton Class Reference

This is the class in charge of informing the user that they tried to access a non-existant Button class. More...

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoButton:
Inheritance graph
Collaboration diagram for CustomExceptions::NoButton:
Collaboration graph

Public Member Functions

 NoButton (const std::string &exceptionDetail="")
 Construct a new No Button object.
 
 ~NoButton ()
 Destroy the No Button object.
 
const char * what () const noexcept
 Retrieves the error message.
 

Detailed Description

This is the class in charge of informing the user that they tried to access a non-existant Button class.

Definition at line 328 of file No.hpp.

Constructor & Destructor Documentation

◆ NoButton()

CustomExceptions::NoButton::NoButton ( const std::string & exceptionDetail = "")

Construct a new No Button object.

Parameters
exceptionDetailA string allowing you to provide extra detail if required.

Definition at line 184 of file No.cpp.

◆ ~NoButton()

CustomExceptions::NoButton::~NoButton ( )

Destroy the No Button object.

Definition at line 193 of file No.cpp.

Member Function Documentation

◆ what()

const char * CustomExceptions::NoButton::what ( ) const
noexcept

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 195 of file No.cpp.


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