R-Type  2
Doom but in better
Loading...
Searching...
No Matches
CustomExceptions::InvalidConfigurationSpritesheetType 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::InvalidConfigurationSpritesheetType:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidConfigurationSpritesheetType:
Collaboration graph

Public Member Functions

 InvalidConfigurationSpritesheetType (const std::string &path="", const std::string &key="", const std::string &type="", const std::string &expectedType="")
 Construct a new Invalid Configuration Spritesheet Type object.
 
 ~InvalidConfigurationSpritesheetType ()
 Destroy the Invalid Configuration Spritesheet 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 639 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidConfigurationSpritesheetType()

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

Construct a new Invalid Configuration Spritesheet 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 426 of file Invalid.cpp.

◆ ~InvalidConfigurationSpritesheetType()

CustomExceptions::InvalidConfigurationSpritesheetType::~InvalidConfigurationSpritesheetType ( )

Destroy the Invalid Configuration Spritesheet Type object.

Definition at line 433 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 435 of file Invalid.cpp.


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