R-Type  2
Doom but in better
Loading...
Searching...
No Matches
CustomExceptions::InvalidConfigurationMusicType 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 music. More...

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidConfigurationMusicType:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidConfigurationMusicType:
Collaboration graph

Public Member Functions

 InvalidConfigurationMusicType (const std::string &path="", const std::string &key="", const std::string &type="", const std::string &expectedType="")
 Construct a new Invalid Configuration Music Type object.
 
 ~InvalidConfigurationMusicType ()
 Destroy the Invalid Configuration Music 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 music.

Definition at line 672 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidConfigurationMusicType()

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

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

◆ ~InvalidConfigurationMusicType()

CustomExceptions::InvalidConfigurationMusicType::~InvalidConfigurationMusicType ( )

Destroy the Invalid Configuration Music Type object.

Definition at line 447 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 449 of file Invalid.cpp.


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