RLMSyncAuthError
enum RLMSyncAuthError : NSInteger {}
An error which is related to authentication to a Realm Object Server.
-
An error that indicates that the response received from the authentication server was malformed.
Declaration
Objective-C
RLMSyncAuthErrorBadResponse = 1
Swift
case badResponse = 1
-
An error that indicates that the supplied Realm path was invalid, or could not be resolved by the authentication server.
Declaration
Objective-C
RLMSyncAuthErrorBadRemoteRealmPath = 2
Swift
case badRemoteRealmPath = 2
-
An error that indicates that the response received from the authentication server was an HTTP error code. The
userInfo
dictionary contains the actual error code value.Declaration
Objective-C
RLMSyncAuthErrorHTTPStatusCodeError = 3
Swift
case httpStatusCodeError = 3
-
An error that indicates a problem with the session (a specific Realm opened for sync).
Declaration
Objective-C
RLMSyncAuthErrorClientSessionError = 4
Swift
case clientSessionError = 4
-
An error that indicates that the provided credentials are invalid.
Declaration
Objective-C
RLMSyncAuthErrorInvalidCredential = 611
Swift
case invalidCredential = 611
-
An error that indicates that the user with provided credentials does not exist.
Declaration
Objective-C
RLMSyncAuthErrorUserDoesNotExist = 612
Swift
case userDoesNotExist = 612
-
An error that indicates that the user cannot be registered as it exists already.
Declaration
Objective-C
RLMSyncAuthErrorUserAlreadyExists = 613
Swift
case userAlreadyExists = 613