mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-15 01:08:31 +00:00
Clarify public key documentation and errors
This commit is contained in:
parent
42536e5f01
commit
11cb283483
5 changed files with 19 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue