typedef NS_ENUM()

in FirebaseAuthUI/Sources/Public/FirebaseAuthUI/FUIAuthErrors.h [40:66]


typedef NS_ENUM(NSUInteger, FUIAuthErrorCode) {

  /** @var FUIAuthErrorCodeUserCancelledSignIn
      @brief Indicates the user cancelled a sign-in flow.
   */
  FUIAuthErrorCodeUserCancelledSignIn = 1,

  /** @var FUIAuthErrorCodeProviderError
      @brief Indicates there's an error from the identity provider. The
          @c FUIAuthErrorUserInfoProviderIDKey field in the @c NError.userInfo dictionary will
          contain the ID of the identity provider.
   */
  FUIAuthErrorCodeProviderError = 2,

  /** @var FUIAuthErrorCodeCantFindProvider
      @brief Indicates that @FUIAuth.providers doen't contain current provider (see NSError.userInfo
          key @c FUIAuthErrorUserInfoProviderIDKey).
   */
  FUIAuthErrorCodeCantFindProvider = 3,

  /** @var FUIAuthErrorCodeMergeConflict
      @brief Indicates that a merge conflict occurred while trying to automatically upgrade an
          anonymous user. The non-anonymous credential can be obtained from the userInfo dictionary
          of the corresponding NSError using the @c FUIAuthCredentialKey.
   */
  FUIAuthErrorCodeMergeConflict = 4,
};