Declared in RLMConstants.h

RLMError

Definition

typedef NS_ENUM(NSInteger, RLMError ) {
   RLMErrorFail = 1,
   RLMErrorFileAccessError = 2,
   RLMErrorFilePermissionDenied = 3,
   RLMErrorFileExists = 4,
   RLMErrorFileNotFound = 5,
   RLMErrorIncompatibleLockFile = 8,
};

Constants

RLMErrorFail

Returned by RLMRealm if no other specific error is returned when a realm is opened.

Declared In RLMConstants.h.

RLMErrorFileAccessError

Returned by RLMRealm for any I/O related exception scenarios when a realm is opened.

Declared In RLMConstants.h.

RLMErrorFilePermissionDenied

Returned by RLMRealm if the user does not have permission to open or create the specified file in the specified access mode when the realm is opened.

Declared In RLMConstants.h.

RLMErrorFileExists

Returned by RLMRealm if no_create was specified and the file did already exist when the realm is opened.

Declared In RLMConstants.h.

RLMErrorFileNotFound

Returned by RLMRealm if no_create was specified and the file was not found when the realm is opened.

Declared In RLMConstants.h.

RLMErrorIncompatibleLockFile

Returned by RLMRealm if the database file is currently open in another process which cannot share with the current process due to an architecture mismatch.

Declared In RLMConstants.h.