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

This is the class in charge of informing the user that they tried to access a non-existant texture instance. More...

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoTexture:
Inheritance graph
Collaboration diagram for CustomExceptions::NoTexture:
Collaboration graph

Public Member Functions

 NoTexture (const std::string &errorReason="")
 Construct a new No Texture object.
 
 ~NoTexture ()
 Destroy the No Texture 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 access a non-existant texture instance.

Definition at line 446 of file No.hpp.

Constructor & Destructor Documentation

◆ NoTexture()

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

Construct a new No Texture object.

Parameters
errorReasonThe reason for the error

Definition at line 252 of file No.cpp.

◆ ~NoTexture()

CustomExceptions::NoTexture::~NoTexture ( )

Destroy the No Texture object.

Definition at line 261 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 263 of file No.cpp.


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