![]() |
R-Type
2
Doom but in better
|
This is the class in charge of informing the user that the index they provided is invalid. More...
#include <Invalid.hpp>
Public Member Functions | |
InvalidIndex (const std::string &index="", const std::string &min="", const std::string &max="") | |
Construct a new Invalid Index object. | |
~InvalidIndex () | |
Destroy the Invalid Index object. | |
const char * | what () const noexcept |
Retrieves the error message. | |
This is the class in charge of informing the user that the index they provided is invalid.
Definition at line 546 of file Invalid.hpp.
CustomExceptions::InvalidIndex::InvalidIndex | ( | const std::string & | index = "", |
const std::string & | min = "", | ||
const std::string & | max = "" ) |
Construct a new Invalid Index object.
index | The index provided by the user |
min | The minimum allowed index. |
max | The maximum allowed index. |
Definition at line 361 of file Invalid.cpp.
CustomExceptions::InvalidIndex::~InvalidIndex | ( | ) |
Destroy the Invalid Index object.
Definition at line 379 of file Invalid.cpp.
|
noexcept |
Retrieves the error message.
Definition at line 381 of file Invalid.cpp.