We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cedf950 commit 68ffbfcCopy full SHA for 68ffbfc
homework/password-check/validation.hpp
@@ -2,12 +2,12 @@
2
#include <string>
3
4
enum class ErrorCode {
5
- Ok,
6
- PasswordNeedsAtLeastNineCharacters,
7
- PasswordNeedsAtLeastOneNumber,
8
- PasswordNeedsAtLeastOneSpecialCharacter,
9
- PasswordNeedsAtLeastOneUppercaseLetter,
10
- PasswordsDoNotMatch
+ Ok,
+ PasswordNeedsAtLeastNineCharacters,
+ PasswordNeedsAtLeastOneNumber,
+ PasswordNeedsAtLeastOneSpecialCharacter,
+ PasswordNeedsAtLeastOneUppercaseLetter,
+ PasswordsDoNotMatch
11
};
12
13
std::string getErrorMessage(const ErrorCode errorCode);
0 commit comments