diff --git a/include/jwt/impl/error_codes.ipp b/include/jwt/impl/error_codes.ipp index 4118d32..85958e7 100644 --- a/include/jwt/impl/error_codes.ipp +++ b/include/jwt/impl/error_codes.ipp @@ -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");