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:
|
case errSecAuthFailed:
|
||||||
return @"The user name or passphrase you entered is not correct.";
|
return @"The user name or passphrase you entered is not correct.";
|
||||||
|
|
||||||
|
case errSecMissingEntitlement:
|
||||||
|
return @"Internal error when a required entitlement isn't present.";
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return error.localizedDescription;
|
return error.localizedDescription;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue