RLMAppError
Objective-C
enum RLMAppError : NSInteger {}
Swift
typealias RLMAppError.Code._ErrorType = RLMAppError
An error which occurred when making a request to Atlas App Services.
-
An unknown error has occurred
Declaration
Objective-C
RLMAppErrorUnknown = -1
Swift
case unknown = -1
-
A HTTP request completed with an error status code. The failing status code can be found in the
RLMHTTPStatusCodeKey
key of the userInfo dictionary.Declaration
Objective-C
RLMAppErrorHttpRequestFailed = 1
Swift
case httpRequestFailed = 1
-
A user’s session is in an invalid state. Logging out and back in may rectify this.
Declaration
Objective-C
RLMAppErrorInvalidSession
Swift
case invalidSession = 2
-
A request sent to the server was malformed in some way.
Declaration
Objective-C
RLMAppErrorBadRequest
Swift
case badRequest = 3
-
A request was made using a nonexistent user.
Declaration
Objective-C
RLMAppErrorUserNotFound
Swift
case userNotFound = 4
-
A request was made against an App using a User which does not belong to that App.
Declaration
Objective-C
RLMAppErrorUserAppDomainMismatch
Swift
case userAppDomainMismatch = 5
-
The auth provider has limited the domain names which can be used for email addresses, and the given one is not allowed.
Declaration
Objective-C
RLMAppErrorDomainNotAllowed
Swift
case domainNotAllowed = 6
-
The request body size exceeded a server-configured limit.
Declaration
Objective-C
RLMAppErrorReadSizeLimitExceeded
Swift
case readSizeLimitExceeded = 7
-
A request had an invalid parameter.
Declaration
Objective-C
RLMAppErrorInvalidParameter
Swift
case invalidParameter = 8
-
A request was missing a required parameter.
Declaration
Objective-C
RLMAppErrorMissingParameter
Swift
case missingParameter = 9
-
Executing the requested server function failed with an error.
Declaration
Objective-C
RLMAppErrorFunctionExecutionError
Swift
case functionExecutionError = 10
-
The server encountered an internal error.
Declaration
Objective-C
RLMAppErrorInternalServerError
Swift
case internalServerError = 11
-
Authentication failed due to the request auth provider not existing.
Declaration
Objective-C
RLMAppErrorAuthProviderNotFound
Swift
case authProviderNotFound = 12
-
The requested value does not exist.
Declaration
Objective-C
RLMAppErrorValueNotFound
Swift
case valueNotFound = 13
-
The value being created already exists.
Declaration
Objective-C
RLMAppErrorValueAlreadyExists
Swift
case valueAlreadyExists = 14
-
A value with the same name as the value being created already exists.
Declaration
Objective-C
RLMAppErrorValueDuplicateName
Swift
case valueDuplicateName = 15
-
The called server function does not exist.
Declaration
Objective-C
RLMAppErrorFunctionNotFound
Swift
case functionNotFound = 16
-
The called server function has a syntax error.
Declaration
Objective-C
RLMAppErrorFunctionSyntaxError
Swift
case functionSyntaxError = 17
-
The called server function is invalid in some way.
Declaration
Objective-C
RLMAppErrorFunctionInvalid
Swift
case functionInvalid = 18
-
Registering an API key with the auth provider failed due to it already existing.
Declaration
Objective-C
RLMAppErrorAPIKeyAlreadyExists
Swift
case apiKeyAlreadyExists = 19
-
The operation failed due to exceeding the server-configured time limit.
Declaration
Objective-C
RLMAppErrorExecutionTimeLimitExceeded
Swift
case executionTimeLimitExceeded = 20
-
The body of the called function does not define a callable thing.
Declaration
Objective-C
RLMAppErrorNotCallable
Swift
case notCallable = 21
-
Email confirmation failed for a user because the user has already confirmed their email.
Declaration
Objective-C
RLMAppErrorUserAlreadyConfirmed
Swift
case userAlreadyConfirmed = 22
-
The user cannot be used because it has been disabled.
Declaration
Objective-C
RLMAppErrorUserDisabled
Swift
case userDisabled = 23
-
An auth error occurred which does not have a more specific error code.
Declaration
Objective-C
RLMAppErrorAuthError
Swift
case authError = 24
-
Account registration failed due to the user name already being taken.
Declaration
Objective-C
RLMAppErrorAccountNameInUse
Swift
case accountNameInUse = 25
-
A login request failed due to an invalid password.
Declaration
Objective-C
RLMAppErrorInvalidPassword
Swift
case invalidPassword = 26
-
Operation failed due to server-side maintenance.
Declaration
Objective-C
RLMAppErrorMaintenanceInProgress
Swift
case maintenanceInProgress = 27
-
Operation failed due to an error reported by MongoDB.
Declaration
Objective-C
RLMAppErrorMongoDBError
Swift
case mongoDBError = 28