Do not log not implemented commands as errors, fixes #11

This commit is contained in:
emeric
2020-01-24 14:05:58 +01:00
parent c69ce99bd1
commit cb59b09157
2 changed files with 116 additions and 26 deletions
+5
View File
@@ -135,6 +135,11 @@ class NotImplementedGenericError : public GenericError
std::string getMessage() const override { return "Not implemented"; }
};
class UnknownEntryPointGenericError : public GenericError
{
std::string getMessage() const override { return "Unknown API method"; }
};
class PasswordTooWeakGenericError : public GenericError
{
std::string getMessage() const override { return "Password too weak"; }