withReplacedSecretChallengeException<T> method

Future<T> withReplacedSecretChallengeException<T>(
  1. Future<T> fn()
)

Replaces challenge-related exceptions by email-specific exceptions.

Implementation

Future<T> withReplacedSecretChallengeException<T>(
  Future<T> Function() fn,
) => withEmailPasswordResetExceptions(fn);