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