aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth/Source/FIRAuthErrorUtils.h
diff options
context:
space:
mode:
authorGravatar Xiangtian Dai <xiangtian@google.com>2017-08-11 17:12:11 -0700
committerGravatar GitHub <noreply@github.com>2017-08-11 17:12:11 -0700
commit8c3ef6b780d5b9b116c693b3b440dcc7f68b4827 (patch)
tree1c53f866e945324acd7fff5b93e77abb6333d994 /Firebase/Auth/Source/FIRAuthErrorUtils.h
parent6b0739790c637baf2e05b4bc339abb27cfb4f8cb (diff)
Handles MISSING_EMAIL error from server. (#187)
Diffstat (limited to 'Firebase/Auth/Source/FIRAuthErrorUtils.h')
-rw-r--r--Firebase/Auth/Source/FIRAuthErrorUtils.h5
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.