aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth/Source/FIRAuthInternalErrors.h
diff options
context:
space:
mode:
authorGravatar Zsika Phillip <protocol86@users.noreply.github.com>2017-10-02 11:21:55 -0700
committerGravatar GitHub <noreply@github.com>2017-10-02 11:21:55 -0700
commit7fa0b0de42141d90b8ba3da67cad037becf6f065 (patch)
treeef7599978e5b7aee0731cd70f8f67edeae5c876f /Firebase/Auth/Source/FIRAuthInternalErrors.h
parentaebb293f3dcfaef012e847689d8b814477c0c301 (diff)
Disambiguates known errors from web context (#322)
* Disambiguates known errors from web context - Disambiguates known errors possibly returned by verifyPhoneNumber:UIDelegate:completion:
Diffstat (limited to 'Firebase/Auth/Source/FIRAuthInternalErrors.h')
-rw-r--r--Firebase/Auth/Source/FIRAuthInternalErrors.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Firebase/Auth/Source/FIRAuthInternalErrors.h b/Firebase/Auth/Source/FIRAuthInternalErrors.h
index 323fb51..d2905cc 100644
--- a/Firebase/Auth/Source/FIRAuthInternalErrors.h
+++ b/Firebase/Auth/Source/FIRAuthInternalErrors.h
@@ -343,6 +343,16 @@ typedef NS_ENUM(NSInteger, FIRAuthInternalErrorCode) {
FIRAuthInternalErrorCodeInvalidClientID =
FIRAuthPublicErrorCodeFlag | FIRAuthErrorCodeInvalidClientID,
+ /** Indicates that a network request within a SFSafariViewController or UIWebview failed.
+ */
+ FIRAuthInternalErrorCodeWebNetworkRequestFailed =
+ FIRAuthPublicErrorCodeFlag | FIRAuthErrorCodeWebNetworkRequestFailed,
+
+ /** Indicates that an internal error occured within a SFSafariViewController or UIWebview.
+ */
+ FIRAuthInternalErrorCodeWebInternalError =
+ FIRAuthPublicErrorCodeFlag | FIRAuthErrorCodeWebInternalError,
+
// The enum values between 17046 and 17051 are reserved and should NOT be used for new error
// codes.