diff options
author | 2017-10-02 11:21:55 -0700 | |
---|---|---|
committer | 2017-10-02 11:21:55 -0700 | |
commit | 7fa0b0de42141d90b8ba3da67cad037becf6f065 (patch) | |
tree | ef7599978e5b7aee0731cd70f8f67edeae5c876f /Firebase/Auth/Source/FIRAuthInternalErrors.h | |
parent | aebb293f3dcfaef012e847689d8b814477c0c301 (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.h | 10 |
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. |