RLMSyncError

enum RLMSyncError : NSInteger {}

An error which is related to synchronization with a Realm Object Server.

  • An error that indicates that the response received from the authentication server was malformed.

    Declaration

    Objective-C

    RLMSyncErrorBadResponse = 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

    RLMSyncErrorBadRemoteRealmPath = 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

    RLMSyncErrorHTTPStatusCodeError = 3

    Swift

    case httpStatusCodeError = 3
  • An error that indicates a problem with the session (a specific Realm opened for sync).

    Declaration

    Objective-C

    RLMSyncErrorClientSessionError = 4

    Swift

    case clientSessionError = 4
  • An error that indicates a problem with a specific user.

    Declaration

    Objective-C

    RLMSyncErrorClientUserError = 5

    Swift

    case clientUserError = 5
  • An error that indicates an internal error with the underlying synchronization engine. Only for information.

    Declaration

    Objective-C

    RLMSyncErrorClientInternalError = 6

    Swift

    case clientInternalError = 6