![]() |
R-Type
2
Doom but in better
|
This is the class in charge of raising the invalid width error informing the user that the width 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 | |
InvalidWidth (const std::string &width="", const std::string &min="", const std::string &max="") | |
Construct a new Invalid Width object. | |
~InvalidWidth () | |
Destroy the Invalid Width object. | |
const char * | what () const noexcept |
Retrieves the error message. | |
This is the class in charge of raising the invalid width error informing the user that the width 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 394 of file Invalid.hpp.
CustomExceptions::InvalidWidth::InvalidWidth | ( | const std::string & | width = "", |
const std::string & | min = "", | ||
const std::string & | max = "" ) |
Construct a new Invalid Width object.
width | The width that was provided. |
min | The minimum allowed width |
max | The maximum allowed width |
Definition at line 259 of file Invalid.cpp.
CustomExceptions::InvalidWidth::~InvalidWidth | ( | ) |
Destroy the Invalid Width object.
Definition at line 277 of file Invalid.cpp.
|
noexcept |
Retrieves the error message.
Definition at line 279 of file Invalid.cpp.