Clarify public key documentation and errors

This commit is contained in:
Wiebe Cazemier 2020-07-16 17:28:46 +02:00
parent 42536e5f01
commit 11cb283483
5 changed files with 19 additions and 2 deletions

View file

@ -273,6 +273,17 @@ public:
}
};
class InvalidKeyError final: public VerificationError
{
public:
/**
*/
InvalidKeyError(std::string msg)
: VerificationError(std::move(msg))
{
}
};
/**
* Derived from VerificationError.
* Thrown when there type expectation mismatch