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

This is the class in charge of informing the user that the icon configuration they provided is incorrect. More...

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidIconConfiguration:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidIconConfiguration:
Collaboration graph

Public Member Functions

 InvalidIconConfiguration (const std::string &tomlPath="", const std::string &userConfiguration="", const std::string &iconName="", const std::string &exceptionDetail="")
 Construct a new Invalid Sprite Configuration object.
 
 ~InvalidIconConfiguration ()
 Destroy the Invalid Sprite Configuration object.
 
const char * what () const noexcept
 Retrieves the error message.
 

Detailed Description

This is the class in charge of informing the user that the icon configuration they provided is incorrect.

Definition at line 179 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidIconConfiguration()

CustomExceptions::InvalidIconConfiguration::InvalidIconConfiguration ( const std::string & tomlPath = "",
const std::string & userConfiguration = "",
const std::string & iconName = "",
const std::string & exceptionDetail = "" )

Construct a new Invalid Sprite Configuration object.

Parameters
userConfigurationThe configuration section provided by the user.
iconNameThe name of the icon that was affected by the configuration.
exceptionDetailThe detail about the reason why the error was triggered.

Definition at line 121 of file Invalid.cpp.

◆ ~InvalidIconConfiguration()

CustomExceptions::InvalidIconConfiguration::~InvalidIconConfiguration ( )

Destroy the Invalid Sprite Configuration object.

Definition at line 140 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 142 of file Invalid.cpp.


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