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

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

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoRenderableImage:
Inheritance graph
Collaboration diagram for CustomExceptions::NoRenderableImage:
Collaboration graph

Public Member Functions

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

Definition at line 534 of file No.hpp.

Constructor & Destructor Documentation

◆ NoRenderableImage()

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

Construct a new No Renderable Image object.

Parameters
errorReasonThe reason the error occurred.

Definition at line 300 of file No.cpp.

◆ ~NoRenderableImage()

CustomExceptions::NoRenderableImage::~NoRenderableImage ( )

Destroy the No Renderable Image object.

Definition at line 309 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 311 of file No.cpp.


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