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

This is the class in charge of informing the user that they tried to render a non-existing text component. More...

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoRenderableText:
Inheritance graph
Collaboration diagram for CustomExceptions::NoRenderableText:
Collaboration graph

Public Member Functions

 NoRenderableText (const std::string &errorReason="")
 Construct a new No Renderable Text object.
 
 ~NoRenderableText ()
 Destroy the No Renderable 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 render a non-existing text component.

Definition at line 475 of file No.hpp.

Constructor & Destructor Documentation

◆ NoRenderableText()

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

Construct a new No Renderable Text object.

Parameters
errorReasonThe reason the error occured.

Definition at line 268 of file No.cpp.

◆ ~NoRenderableText()

CustomExceptions::NoRenderableText::~NoRenderableText ( )

Destroy the No Renderable Text object.

Definition at line 277 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 279 of file No.cpp.


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