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

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

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoText:
Inheritance graph
Collaboration diagram for CustomExceptions::NoText:
Collaboration graph

Public Member Functions

 NoText (const std::string &errorReason="")
 Construct a new No Text object.
 
 ~NoText ()
 Destroy the No Text 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 text instance.

Definition at line 417 of file No.hpp.

Constructor & Destructor Documentation

◆ NoText()

CustomExceptions::NoText::NoText ( const std::string & errorReason = "")

Construct a new No Text object.

Parameters
errorReasonThe reason for the error

Definition at line 236 of file No.cpp.

◆ ~NoText()

CustomExceptions::NoText::~NoText ( )

Destroy the No Text object.

Definition at line 245 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 247 of file No.cpp.


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