SCServiceErrorCode
enum SCServiceErrorCode : NSInteger {}
Possible error response codes when authenticating a user with your Salesforce org.
-
Error condition when the session has expired or is invalid.
Declaration
Objective-C
SCServiceUserSessionExpiredOrInvalidError = 401
Swift
case userSessionExpiredOrInvalidError = 401
-
Error condition when the request to authenticate a user is refused by the server.
Declaration
Objective-C
SCServiceUserRequestRefusedError = 403
Swift
case userRequestRefusedError = 403
-
Error condition when the requested resource is not found on the server.
Declaration
Objective-C
SCServiceUserResourceNotFoundError = 404
Swift
case userResourceNotFoundError = 404
-
Error condition when changing authentication settings results in an error.
Declaration
Objective-C
SCServiceAuthenticationSettingsError = 1000
Swift
case authenticationSettingsError = 1000