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

This is the class in charge of informing the user that the key type present in the file is of the wrong expected type for the spritesheet. More...

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidConfigurationFontType:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidConfigurationFontType:
Collaboration graph

Public Member Functions

 InvalidConfigurationFontType (const std::string &path="", const std::string &key="", const std::string &type="", const std::string &expectedType="")
 Construct a new Invalid Configuration Font Type object.
 
 ~InvalidConfigurationFontType ()
 Destroy the Invalid Configuration Font Type object.
 
const char * what () const noexcept
 Retrieves the error message.
 

Detailed Description

This is the class in charge of informing the user that the key type present in the file is of the wrong expected type for the spritesheet.

Definition at line 705 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidConfigurationFontType()

CustomExceptions::InvalidConfigurationFontType::InvalidConfigurationFontType ( const std::string & path = "",
const std::string & key = "",
const std::string & type = "",
const std::string & expectedType = "" )

Construct a new Invalid Configuration Font Type object.

Parameters
pathThe path to the TOML file
keyThe key that contains the invalid type.
typeThe type of the key in the configuration file
expectedTypeThe type that was expected of the key.

Definition at line 454 of file Invalid.cpp.

◆ ~InvalidConfigurationFontType()

CustomExceptions::InvalidConfigurationFontType::~InvalidConfigurationFontType ( )

Destroy the Invalid Configuration Font Type object.

Definition at line 461 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 463 of file Invalid.cpp.


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