RLMError Constants Reference
Declared in | RLMConstants.h |
RLMError
Definition
typedef NS_ENUM(NSInteger, RLMError ) {
RLMErrorFail = 1,
RLMErrorFileAccessError = 2,
RLMErrorFilePermissionDenied = 3,
RLMErrorFileExists = 4,
RLMErrorFileNotFound = 5,
RLMErrorStaleLockFile = 6,
RLMErrorLockFileButNoData = 7,
};
Constants
RLMErrorFail
-
Retuned 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
. RLMErrorStaleLockFile
-
Returned by RLMRealm if a stale .lock file is present when the realm is opened.
Declared In
RLMConstants.h
. RLMErrorLockFileButNoData
-
Returned by RLMRealm if the database file is deleted while there are open realms, and subsequent attempts to open realms will try to join an already active shared scheme, but fail due to the missing database file.
Declared In
RLMConstants.h
.