GIDSignInErrorCode

enum GIDSignInErrorCode {}

A list of potential error codes returned from the Google Identity SDK.

  • Indicates an unknown error has occurred.

    Declaration

    Swift

    case unknown = -1

    Objective-C

    kGIDSignInErrorCodeUnknown = -1
  • Indicates a problem reading or writing to the application keychain.

    Declaration

    Swift

    case keychain = -2

    Objective-C

    kGIDSignInErrorCodeKeychain = -2
  • Indicates there are no valid auth tokens in the keychain. This error code will be returned by restorePreviousSignIn if the user has not signed in before or if they have since signed out.

    Declaration

    Swift

    case hasNoAuthInKeychain = -4

    Objective-C

    kGIDSignInErrorCodeHasNoAuthInKeychain = -4
  • Indicates the user canceled the sign in request.

    Declaration

    Swift

    case canceled = -5

    Objective-C

    kGIDSignInErrorCodeCanceled = -5
  • Indicates an Enterprise Mobility Management related error has occurred.

    Declaration

    Swift

    case EMM = -6

    Objective-C

    kGIDSignInErrorCodeEMM = -6