mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-14 08:48:31 +00:00
fix: add new case to AlgorithmErrCategory::message
This commit is contained in:
parent
a824ff4983
commit
5ef903fe33
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ struct AlgorithmErrCategory: std::error_category
|
|||
return "key not provided";
|
||||
case AlgorithmErrc::NoneAlgorithmUsed:
|
||||
return "none algorithm used";
|
||||
case AlgorithmErrc::InvalidKeyErr:
|
||||
return "invalid key";
|
||||
};
|
||||
return "unknown algorithm error";
|
||||
assert (0 && "Code not reached");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue