We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f25fc39 + c0cff48 commit 98b986aCopy full SHA for 98b986a
1 file changed
Xcodes/AppleAPI/Sources/AppleAPI/Client.swift
@@ -180,6 +180,8 @@ public class Client {
180
return (data, urlResponse)
181
case 400, 401:
182
throw AuthenticationError.incorrectSecurityCode
183
+ case 412:
184
+ throw AuthenticationError.appleIDAndPrivacyAcknowledgementRequired
185
case let code:
186
throw AuthenticationError.badStatusCode(statusCode: code, data: data, response: urlResponse)
187
}
0 commit comments