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

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

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoRenderableSprite:
Inheritance graph
Collaboration diagram for CustomExceptions::NoRenderableSprite:
Collaboration graph

Public Member Functions

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

Definition at line 563 of file No.hpp.

Constructor & Destructor Documentation

◆ NoRenderableSprite()

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

Construct a new No Renderable Sprite object.

Parameters
errorReasonThe reason the error occurred.

Definition at line 316 of file No.cpp.

◆ ~NoRenderableSprite()

CustomExceptions::NoRenderableSprite::~NoRenderableSprite ( )

Destroy the No Renderable Sprite object.

Definition at line 325 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 327 of file No.cpp.


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