RecaptchaErrorCode
enum
RecaptchaErrorCode
:
NSInteger
{}
List of errors that can be returned from the SDK.
-
Unknown error occurred during the workflow.
Declaration
Swift
case errorCodeUnknown = 0Objective-C
RecaptchaErrorCodeUnknown = 0 -
reCAPTCHA cannot connect to Google servers, please make sure the app has network access.
Declaration
Swift
case errorNetworkError = 1Objective-C
RecaptchaErrorNetworkError = 1 -
The site key used to call reCAPTCHA is invalid.
Declaration
Swift
case errorInvalidSiteKey = 2Objective-C
RecaptchaErrorInvalidSiteKey = 2 -
Cannot create a reCAPTCHA client because the key used cannot be used on iOS.
Please register new site key with the key type set to “iOS App” via Create Key .
Declaration
Swift
case erroInvalidKeyType = 3Objective-C
RecaptchaErroInvalidKeyType = 3 -
Cannot create a reCAPTCHA client because the site key used doesn’t support the calling package.
Declaration
Swift
case errorInvalidPackageName = 4Objective-C
RecaptchaErrorInvalidPackageName = 4 -
reCAPTCHA cannot accept the action used, see custom action guidelines .
Declaration
Swift
case errorInvalidAction = 5Objective-C
RecaptchaErrorInvalidAction = 5 -
reCAPTCHA cannot accept timeout provided, see timeout guidelines .
Declaration
Swift
case errorInvalidTimeout = 6Objective-C
RecaptchaErrorInvalidTimeout = 6 -
No network was found in the device.
Declaration
Swift
case errorNoNetwork = 7Objective-C
RecaptchaErrorNoNetwork = 7 -
reCAPTCHA has faced an internal error, please try again in a bit.
Declaration
Swift
case errorCodeInternalError = 100Objective-C
RecaptchaErrorCodeInternalError = 100

