aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth/Source/FIRAuthErrorUtils.h
diff options
context:
space:
mode:
authorGravatar Xiangtian Dai <xiangtian@google.com>2017-09-01 14:38:45 -0700
committerGravatar GitHub <noreply@github.com>2017-09-01 14:38:45 -0700
commit1e9d6526109908ebd129ff30957a5b4d11d42e62 (patch)
tree8b5c38b661bebec643b01bec17d6f314a12e5472 /Firebase/Auth/Source/FIRAuthErrorUtils.h
parent36c20d92b7a1f4ac5cb950df61d381ee60be9670 (diff)
Swizzles APNs token error app delegate method for faster turnaround. (#226)
Also removes the server request in case the token is missing.
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 4fdfe9b..1537553 100644
--- a/Firebase/Auth/Source/FIRAuthErrorUtils.h
+++ b/Firebase/Auth/Source/FIRAuthErrorUtils.h
@@ -425,11 +425,12 @@ NS_ASSUME_NONNULL_BEGIN
*/
+ (NSError *)quotaExceededErrorWithMessage:(nullable NSString *)message;
-/** @fn missingAppTokenError
+/** @fn missingAppTokenErrorWithUnderlyingError
@brief Constructs an @c NSError with the @c FIRAuthErrorCodeMissingAppToken code.
+ @param underlyingError The underlying error, if any.
@return The NSError instance associated with the given FIRAuthError.
*/
-+ (NSError *)missingAppTokenError;
++ (NSError *)missingAppTokenErrorWithUnderlyingError:(nullable NSError *)underlyingError;
/** @fn notificationNotForwardedError
@brief Constructs an @c NSError with the @c FIRAuthErrorCodeNotificationNotForwarded code.