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

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

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoRenderableButton:
Inheritance graph
Collaboration diagram for CustomExceptions::NoRenderableButton:
Collaboration graph

Public Member Functions

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

Definition at line 592 of file No.hpp.

Constructor & Destructor Documentation

◆ NoRenderableButton()

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

Construct a new No Renderable Button object.

Parameters
errorReasonThe reason the error occurred.

Definition at line 332 of file No.cpp.

◆ ~NoRenderableButton()

CustomExceptions::NoRenderableButton::~NoRenderableButton ( )

Destroy the No Renderable Button object.

Definition at line 341 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 343 of file No.cpp.


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