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

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

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidBackgroundConfiguration:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidBackgroundConfiguration:
Collaboration graph

Public Member Functions

 InvalidBackgroundConfiguration (const std::string &tomlPath="", const std::string &userConfiguration="", const std::string &backgroundName="", const std::string &exceptionDetail="")
 Construct a new Invalid Sprite Configuration object.
 
 ~InvalidBackgroundConfiguration ()
 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 background configuration they provided is incorrect.

Definition at line 210 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidBackgroundConfiguration()

CustomExceptions::InvalidBackgroundConfiguration::InvalidBackgroundConfiguration ( const std::string & tomlPath = "",
const std::string & userConfiguration = "",
const std::string & backgroundName = "",
const std::string & exceptionDetail = "" )

Construct a new Invalid Sprite Configuration object.

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

Definition at line 147 of file Invalid.cpp.

◆ ~InvalidBackgroundConfiguration()

CustomExceptions::InvalidBackgroundConfiguration::~InvalidBackgroundConfiguration ( )

Destroy the Invalid Sprite Configuration object.

Definition at line 165 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 167 of file Invalid.cpp.


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