diff options
author | 2017-08-11 17:12:11 -0700 | |
---|---|---|
committer | 2017-08-11 17:12:11 -0700 | |
commit | 8c3ef6b780d5b9b116c693b3b440dcc7f68b4827 (patch) | |
tree | 1c53f866e945324acd7fff5b93e77abb6333d994 /Firebase/Auth/Source/FIRAuthErrorUtils.h | |
parent | 6b0739790c637baf2e05b4bc339abb27cfb4f8cb (diff) |
Handles MISSING_EMAIL error from server. (#187)
Diffstat (limited to 'Firebase/Auth/Source/FIRAuthErrorUtils.h')
-rw-r--r-- | Firebase/Auth/Source/FIRAuthErrorUtils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Firebase/Auth/Source/FIRAuthErrorUtils.h b/Firebase/Auth/Source/FIRAuthErrorUtils.h index 1dde98f..a857d4b 100644 --- a/Firebase/Auth/Source/FIRAuthErrorUtils.h +++ b/Firebase/Auth/Source/FIRAuthErrorUtils.h @@ -348,11 +348,12 @@ NS_ASSUME_NONNULL_BEGIN */ + (NSError *)missingContinueURIErrorWithMessage:(nullable NSString *)message; -/** @fn missingEmail +/** @fn missingEmailErrorWithMessage @brief Constructs an @c NSError with the @c FIRAuthErrorCodeMissingEmail code. + @param message Error message from the backend, if any. @return The NSError instance associated with the given FIRAuthError. */ -+ (NSError *)missingEmail; ++ (NSError *)missingEmailErrorWithMessage:(nullable NSString *)message; /** @fn missingPhoneNumberErrorWithMessage: @brief Constructs an @c NSError with the @c FIRAuthErrorCodeMissingPhoneNumber code. |