AWSMobileClientError
public enum AWSMobileClientError : Error
The error enum for AWSMobileClient
errors.
-
Undocumented
Declaration
Swift
case aliasExists(message: String)
-
Undocumented
Declaration
Swift
case codeDeliveryFailure(message: String)
-
Undocumented
Declaration
Swift
case codeMismatch(message: String)
-
Undocumented
Declaration
Swift
case expiredCode(message: String)
-
Undocumented
Declaration
Swift
case groupExists(message: String)
-
Undocumented
Declaration
Swift
case internalError(message: String)
-
Undocumented
Declaration
Swift
case invalidLambdaResponse(message: String)
-
Undocumented
Declaration
Swift
case invalidOAuthFlow(message: String)
-
Undocumented
Declaration
Swift
case invalidParameter(message: String)
-
Undocumented
Declaration
Swift
case invalidPassword(message: String)
-
Undocumented
Declaration
Swift
case invalidUserPoolConfiguration(message: String)
-
Undocumented
Declaration
Swift
case limitExceeded(message: String)
-
Undocumented
Declaration
Swift
case mfaMethodNotFound(message: String)
-
Undocumented
Declaration
Swift
case notAuthorized(message: String)
-
Undocumented
Declaration
Swift
case passwordResetRequired(message: String)
-
Undocumented
Declaration
Swift
case resourceNotFound(message: String)
-
Undocumented
Declaration
Swift
case scopeDoesNotExist(message: String)
-
Undocumented
Declaration
Swift
case softwareTokenMFANotFound(message: String)
-
Undocumented
Declaration
Swift
case tooManyFailedAttempts(message: String)
-
Undocumented
Declaration
Swift
case tooManyRequests(message: String)
-
Undocumented
Declaration
Swift
case unexpectedLambda(message: String)
-
Undocumented
Declaration
Swift
case userLambdaValidation(message: String)
-
Undocumented
Declaration
Swift
case userNotConfirmed(message: String)
-
Undocumented
Declaration
Swift
case userNotFound(message: String)
-
Undocumented
Declaration
Swift
case usernameExists(message: String)
-
Undocumented
Declaration
Swift
case unknown(message: String)
-
Undocumented
Declaration
Swift
case notSignedIn(message: String)
-
Undocumented
Declaration
Swift
case identityIdUnavailable(message: String)
-
Undocumented
Declaration
Swift
case guestAccessNotAllowed(message: String)
-
Undocumented
Declaration
Swift
case federationProviderExists(message: String)
-
Undocumented
Declaration
Swift
case cognitoIdentityPoolNotConfigured(message: String)
-
Undocumented
Declaration
Swift
case unableToSignIn(message: String)
-
Undocumented
Declaration
Swift
case invalidState(message: String)
-
Undocumented
Declaration
Swift
case userPoolNotConfigured(message: String)
-
Undocumented
Declaration
Swift
case userCancelledSignIn(message: String)
-
Undocumented
Declaration
Swift
case badRequest(message: String)
-
Undocumented
Declaration
Swift
case expiredRefreshToken(message: String)
-
Undocumented
Declaration
Swift
case errorLoadingPage(message: String)
-
Undocumented
Declaration
Swift
case securityFailed(message: String)
-
Undocumented
Declaration
Swift
case idTokenNotIssued(message: String)
-
Undocumented
Declaration
Swift
case idTokenAndAcceessTokenNotIssued(message: String)
-
Undocumented
Declaration
Swift
case invalidConfiguration(message: String)
-
Undocumented
Declaration
Swift
case deviceNotRemembered(message: String)
-
Underlying error message of
AWSMobileClientError
Declaration
Swift
public var message: String { get }
-
Utility class which maps a service error to
AWSMobileClientError
. If no mapping is available, returns the original error.Declaration
Swift
public static func makeMobileClientError(from error: Error) -> Error
-
Utility class which maps a cognito error to
AWSMobileClientError
.Declaration
Swift
public static func makeMobileClientError(from cognitoAuthError: AWSCognitoAuthClientErrorType) -> AWSMobileClientError