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

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

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoRenderableShape:
Inheritance graph
Collaboration diagram for CustomExceptions::NoRenderableShape:
Collaboration graph

Public Member Functions

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

Definition at line 505 of file No.hpp.

Constructor & Destructor Documentation

◆ NoRenderableShape()

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

Construct a new No Renderable Shape object.

Parameters
errorReasonThe reason the error occured.

Definition at line 284 of file No.cpp.

◆ ~NoRenderableShape()

CustomExceptions::NoRenderableShape::~NoRenderableShape ( )

Destroy the No Renderable Shape object.

Definition at line 293 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 295 of file No.cpp.


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