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

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

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoColour:
Inheritance graph
Collaboration diagram for CustomExceptions::NoColour:
Collaboration graph

Public Member Functions

 NoColour (const std::string &exceptionDetail="")
 Construct a new No Colour object.
 
 ~NoColour ()
 Destroy the No Colour 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 colour instance.

Definition at line 388 of file No.hpp.

Constructor & Destructor Documentation

◆ NoColour()

CustomExceptions::NoColour::NoColour ( const std::string & exceptionDetail = "")

Construct a new No Colour object.

Parameters
exceptionDetailThe name of the font that was provided.

Definition at line 220 of file No.cpp.

◆ ~NoColour()

CustomExceptions::NoColour::~NoColour ( )

Destroy the No Colour object.

Definition at line 229 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 231 of file No.cpp.


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