mirror of
https://github.com/status-im/react-native-keychain.git
synced 2025-02-05 09:53:45 +00:00
Add human friendly error for errSecMissingEntitlement
This commit is contained in:
parent
9c734ac9f9
commit
bb2adaedad
@ -65,6 +65,9 @@ NSString *messageForError(NSError *error)
|
||||
case errSecAuthFailed:
|
||||
return @"The user name or passphrase you entered is not correct.";
|
||||
|
||||
case errSecMissingEntitlement:
|
||||
return @"Internal error when a required entitlement isn't present.";
|
||||
|
||||
default:
|
||||
return error.localizedDescription;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user