FirebaseAuthAdminException.fromServerError constructor
FirebaseAuthAdminException.fromServerError(
- DetailedApiRequestError error
Implementation
factory FirebaseAuthAdminException.fromServerError(
auth1.DetailedApiRequestError error,
) {
final code =
_authServerToClientCode(error.message) ?? AuthClientErrorCode.unknown;
return FirebaseAuthAdminException(code);
}