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

This is the class in charge of informing the user that the program could not find the music section in the configuration file. More...

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoMusicInConfigFile:
Inheritance graph
Collaboration diagram for CustomExceptions::NoMusicInConfigFile:
Collaboration graph

Public Member Functions

 NoMusicInConfigFile (const std::string &tomlPath="", const std::string &tomlKey="")
 Construct a new No Music In Config File object.
 
 ~NoMusicInConfigFile ()
 Destroy the No Music In Config File object.
 
const char * what () const noexcept
 Retrieves the error message.
 

Detailed Description

This is the class in charge of informing the user that the program could not find the music section in the configuration file.

Definition at line 831 of file No.hpp.

Constructor & Destructor Documentation

◆ NoMusicInConfigFile()

CustomExceptions::NoMusicInConfigFile::NoMusicInConfigFile ( const std::string & tomlPath = "",
const std::string & tomlKey = "" )

Construct a new No Music In Config File object.

Parameters
tomlPathThe path to the toml file.
tomlKeyThe key that was affected.

Definition at line 472 of file No.cpp.

◆ ~NoMusicInConfigFile()

CustomExceptions::NoMusicInConfigFile::~NoMusicInConfigFile ( )

Destroy the No Music In Config File object.

Definition at line 484 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 486 of file No.cpp.


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