fix: add new case to AlgorithmErrCategory::message

This commit is contained in:
Jay Freeman (saurik) 2020-12-21 20:13:01 +00:00
parent a824ff4983
commit 5ef903fe33

View file

@ -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");