Merge pull request #76 from saurik/error-messages

fix: add new case to AlgorithmErrCategory::message
This commit is contained in:
Arun Muralidharan
2020-12-23 14:36:07 +05:30
committed by GitHub

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