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

This is the class in charge of informing the user that the toml file they provided is invalid. More...

#include <Invalid.hpp>

Inheritance diagram for CustomExceptions::InvalidTOML:
Inheritance graph
Collaboration diagram for CustomExceptions::InvalidTOML:
Collaboration graph

Public Member Functions

 InvalidTOML (const std::string &path="", const std::string &error="")
 Construct a new Invalid toml object.
 
 ~InvalidTOML ()
 Destroy the Invalid toml object.
 
const char * what () const noexcept
 Retrieves the error message.
 

Detailed Description

This is the class in charge of informing the user that the toml file they provided is invalid.

Definition at line 608 of file Invalid.hpp.

Constructor & Destructor Documentation

◆ InvalidTOML()

CustomExceptions::InvalidTOML::InvalidTOML ( const std::string & path = "",
const std::string & error = "" )

Construct a new Invalid toml object.

Parameters
pathThe path to the toml file provided by the user
errorAdditional information about the error.

Definition at line 411 of file Invalid.cpp.

◆ ~InvalidTOML()

CustomExceptions::InvalidTOML::~InvalidTOML ( )

Destroy the Invalid toml object.

Definition at line 419 of file Invalid.cpp.

Member Function Documentation

◆ what()

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

Retrieves the error message.

Returns
A C-style string representing the error message.

Definition at line 421 of file Invalid.cpp.


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