|
Babel
1
The voip software that only works on your local network
|
Exception class for invalid durations. More...
#include <Invalid.hpp>


Public Member Functions | |
| InvalidNumber (const std::string &number="", const std::string &min="", const std::string &max="") | |
| Construct a new InvalidNumber object. | |
| ~InvalidNumber () | |
| Destroy the InvalidNumber object. | |
| const char * | what () const noexcept |
| Retrieves the error message. | |
Exception class for invalid durations.
Definition at line 213 of file Invalid.hpp.
| CustomExceptions::InvalidNumber::InvalidNumber | ( | const std::string & | number = "", |
| const std::string & | min = "", | ||
| const std::string & | max = "" ) |
Construct a new InvalidNumber object.
| duration | The duration provided by the user. |
| min | The minimum allowed duration. |
| max | The maximum allowed duration. |
Definition at line 146 of file Invalid.cpp.
| CustomExceptions::InvalidNumber::~InvalidNumber | ( | ) |
Destroy the InvalidNumber object.
Definition at line 164 of file Invalid.cpp.
|
noexcept |
Retrieves the error message.
Definition at line 166 of file Invalid.cpp.