diff --git a/include/MacStd/Security.hpp b/include/MacStd/Security.hpp index 1ea3d80..71a155b 100644 --- a/include/MacStd/Security.hpp +++ b/include/MacStd/Security.hpp @@ -56,6 +56,8 @@ namespace macstd { // Handle common errors Apple does not provide message strings for. switch (num) { + case errSecWrPerm: return "Write permissions error"; + case errSecDuplicateItem: return "The specified item already exists in the keychain"; case errAuthorizationCanceled: return "Authorization was canceled by user"; case errAuthorizationDenied: return "Authorization was denied"; case errAuthorizationInteractionNotAllowed: return "User interaction not allowed for authorization";