Babel  1
The voip software that only works on your local network
Loading...
Searching...
No Matches
CustomExceptions::NoTOMLKey Class Reference

Exception class for missing TOML keys. 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 NoTOMLKey object.
 
 ~NoTOMLKey ()
 Destroy the NoTOMLKey object.
 
const char * what () const noexcept
 Retrieves the error message.
 

Detailed Description

Exception class for missing TOML keys.

Definition at line 77 of file No.hpp.

Constructor & Destructor Documentation

◆ NoTOMLKey()

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

Construct a new NoTOMLKey object.

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

Definition at line 51 of file No.cpp.

◆ ~NoTOMLKey()

CustomExceptions::NoTOMLKey::~NoTOMLKey ( )

Destroy the NoTOMLKey object.

Definition at line 64 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 66 of file No.cpp.


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