This is the class in charge of informing the user that they tried to access a non-existant font instance.
More...
#include <No.hpp>
|
| NoFont (const std::string &fontName="", const std::string &exceptionDetail="") |
| Construct a new No Font object.
|
|
| ~NoFont () |
| Destroy the No Font object.
|
|
const char * | what () const noexcept |
| Retrieves the error message.
|
|
This is the class in charge of informing the user that they tried to access a non-existant font instance.
Definition at line 358 of file No.hpp.
◆ NoFont()
CustomExceptions::NoFont::NoFont |
( |
const std::string & | fontName = "", |
|
|
const std::string & | exceptionDetail = "" ) |
Construct a new No Font object.
- Parameters
-
fontName | The name of the font that was provided. |
exceptionDetail | Additional detail about the error. |
Definition at line 200 of file No.cpp.
◆ ~NoFont()
CustomExceptions::NoFont::~NoFont |
( |
| ) |
|
Destroy the No Font object.
Definition at line 213 of file No.cpp.
◆ what()
const char * CustomExceptions::NoFont::what |
( |
| ) |
const |
|
noexcept |
Retrieves the error message.
- Returns
- A C-style string representing the error message.
Definition at line 215 of file No.cpp.
The documentation for this class was generated from the following files:
- gui/include/CustomExceptions/No.hpp
- gui/src/CustomExceptions/No.cpp