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 = -1Swift
case unknown = -1 -
A HTTP request completed with an error status code. The failing status code can be found in the
RLMHTTPStatusCodeKeykey of the userInfo dictionary.Declaration
Objective-C
RLMAppErrorHttpRequestFailed = 1Swift
case httpRequestFailed = 1 -
A user’s session is in an invalid state. Logging out and back in may rectify this.
Declaration
Objective-C
RLMAppErrorInvalidSessionSwift
case invalidSession = 2 -
A request sent to the server was malformed in some way.
Declaration
Objective-C
RLMAppErrorBadRequestSwift
case badRequest = 3 -
A request was made using a nonexistent user.
Declaration
Objective-C
RLMAppErrorUserNotFoundSwift
case userNotFound = 4 -
A request was made against an App using a User which does not belong to that App.
Declaration
Objective-C
RLMAppErrorUserAppDomainMismatchSwift
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
RLMAppErrorDomainNotAllowedSwift
case domainNotAllowed = 6 -
The request body size exceeded a server-configured limit.
Declaration
Objective-C
RLMAppErrorReadSizeLimitExceededSwift
case readSizeLimitExceeded = 7 -
A request had an invalid parameter.
Declaration
Objective-C
RLMAppErrorInvalidParameterSwift
case invalidParameter = 8 -
A request was missing a required parameter.
Declaration
Objective-C
RLMAppErrorMissingParameterSwift
case missingParameter = 9 -
Executing the requested server function failed with an error.
Declaration
Objective-C
RLMAppErrorFunctionExecutionErrorSwift
case functionExecutionError = 10 -
The server encountered an internal error.
Declaration
Objective-C
RLMAppErrorInternalServerErrorSwift
case internalServerError = 11 -
Authentication failed due to the request auth provider not existing.
Declaration
Objective-C
RLMAppErrorAuthProviderNotFoundSwift
case authProviderNotFound = 12 -
The requested value does not exist.
Declaration
Objective-C
RLMAppErrorValueNotFoundSwift
case valueNotFound = 13 -
The value being created already exists.
Declaration
Objective-C
RLMAppErrorValueAlreadyExistsSwift
case valueAlreadyExists = 14 -
A value with the same name as the value being created already exists.
Declaration
Objective-C
RLMAppErrorValueDuplicateNameSwift
case valueDuplicateName = 15 -
The called server function does not exist.
Declaration
Objective-C
RLMAppErrorFunctionNotFoundSwift
case functionNotFound = 16 -
The called server function has a syntax error.
Declaration
Objective-C
RLMAppErrorFunctionSyntaxErrorSwift
case functionSyntaxError = 17 -
The called server function is invalid in some way.
Declaration
Objective-C
RLMAppErrorFunctionInvalidSwift
case functionInvalid = 18 -
Registering an API key with the auth provider failed due to it already existing.
Declaration
Objective-C
RLMAppErrorAPIKeyAlreadyExistsSwift
case apiKeyAlreadyExists = 19 -
The operation failed due to exceeding the server-configured time limit.
Declaration
Objective-C
RLMAppErrorExecutionTimeLimitExceededSwift
case executionTimeLimitExceeded = 20 -
The body of the called function does not define a callable thing.
Declaration
Objective-C
RLMAppErrorNotCallableSwift
case notCallable = 21 -
Email confirmation failed for a user because the user has already confirmed their email.
Declaration
Objective-C
RLMAppErrorUserAlreadyConfirmedSwift
case userAlreadyConfirmed = 22 -
The user cannot be used because it has been disabled.
Declaration
Objective-C
RLMAppErrorUserDisabledSwift
case userDisabled = 23 -
An auth error occurred which does not have a more specific error code.
Declaration
Objective-C
RLMAppErrorAuthErrorSwift
case authError = 24 -
Account registration failed due to the user name already being taken.
Declaration
Objective-C
RLMAppErrorAccountNameInUseSwift
case accountNameInUse = 25 -
A login request failed due to an invalid password.
Declaration
Objective-C
RLMAppErrorInvalidPasswordSwift
case invalidPassword = 26 -
Operation failed due to server-side maintenance.
Declaration
Objective-C
RLMAppErrorMaintenanceInProgressSwift
case maintenanceInProgress = 27 -
Operation failed due to an error reported by MongoDB.
Declaration
Objective-C
RLMAppErrorMongoDBErrorSwift
case mongoDBError = 28
View on GitHub
Install in Dash