summaryrefslogtreecommitdiffhomepage
path: root/ios
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2023-02-01 16:26:44 +0100
committerAndrej Mihajlov <and@mullvad.net>2023-02-03 10:58:39 +0100
commitf82bdfaf29b41fcc7bca6d5c293769f3aca5f179 (patch)
treefa79bc53efb3cb33707c402ce9a7f4a6cc277019 /ios
parentfbd34d812f0cc7407cd410c49685b1f66d8d2e96 (diff)
downloadmullvadvpn-f82bdfaf29b41fcc7bca6d5c293769f3aca5f179.tar.xz
mullvadvpn-f82bdfaf29b41fcc7bca6d5c293769f3aca5f179.zip
Add new KeychainError variant for errSecInteractionNotAllowed
Diffstat (limited to 'ios')
-rw-r--r--ios/MullvadTypes/KeychainError.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/ios/MullvadTypes/KeychainError.swift b/ios/MullvadTypes/KeychainError.swift
index 5668a31564..d0766bdc9c 100644
--- a/ios/MullvadTypes/KeychainError.swift
+++ b/ios/MullvadTypes/KeychainError.swift
@@ -21,6 +21,7 @@ public struct KeychainError: LocalizedError, Equatable {
public static let duplicateItem = KeychainError(code: errSecDuplicateItem)
public static let itemNotFound = KeychainError(code: errSecItemNotFound)
+ public static let interactionNotAllowed = KeychainError(code: errSecInteractionNotAllowed)
public static func == (lhs: KeychainError, rhs: KeychainError) -> Bool {
return lhs.code == rhs.code