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

This is the class in charge of informing the user that they tried to access a non-existant toml key instance. More...

#include <No.hpp>

Inheritance diagram for CustomExceptions::NoTOMLKey:
Inheritance graph
Collaboration diagram for CustomExceptions::NoTOMLKey:
Collaboration graph

Public Member Functions

 NoTOMLKey (const std::string &tomlPath="", const std::string &tomlKey="")
 Construct a new No toml Key object.
 
 ~NoTOMLKey ()
 Destroy the No toml Key object.
 
const char * what () const noexcept
 Retrieves the error message.
 

Detailed Description

This is the class in charge of informing the user that they tried to access a non-existant toml key instance.

Definition at line 772 of file No.hpp.

Constructor & Destructor Documentation

◆ NoTOMLKey()

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

Construct a new No toml Key object.

Parameters
tomlPathThe path to the toml file
tomlKeyThe key that the user tried to access.

Definition at line 433 of file No.cpp.

◆ ~NoTOMLKey()

CustomExceptions::NoTOMLKey::~NoTOMLKey ( )

Destroy the No toml Key object.

Definition at line 446 of file No.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 448 of file No.cpp.


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