We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d631e6 commit c0cff48Copy full SHA for c0cff48
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