|
R-Type
2
Doom but in better
|
This is the class in charge of raising the invalid height error informing the user that the height they provided is invalid. This class is meant to be a bit more generic so that this type of error can be raised by more than one party. More...
#include <Invalid.hpp>


Public Member Functions | |
| InvalidHeight (const std::string &height="", const std::string &min="", const std::string &max="") | |
| Construct a new Invalid Height object. | |
| ~InvalidHeight () | |
| Destroy the Invalid Height object. | |
| const char * | what () const noexcept |
| Retrieves the error message. | |
This is the class in charge of raising the invalid height error informing the user that the height they provided is invalid. This class is meant to be a bit more generic so that this type of error can be raised by more than one party.
Definition at line 427 of file Invalid.hpp.
| CustomExceptions::InvalidHeight::InvalidHeight | ( | const std::string & | height = "", |
| const std::string & | min = "", | ||
| const std::string & | max = "" ) |
Construct a new Invalid Height object.
| height | The height they provided |
| min | The minimum allowed height |
| max | The maximum allowed height |
Definition at line 284 of file Invalid.cpp.
| CustomExceptions::InvalidHeight::~InvalidHeight | ( | ) |
Destroy the Invalid Height object.
Definition at line 302 of file Invalid.cpp.
|
noexcept |
Retrieves the error message.
Definition at line 304 of file Invalid.cpp.