MCPcopy Create free account
hub / github.com/firebase/quickstart-js / handleError

Function handleError

auth/email-link.ts:83–89  ·  view source on GitHub ↗

* Handles Errors from various Promises..

(error: any)

Source from the content-addressed store, hash-verified

81 * Handles Errors from various Promises..
82 */
83function handleError(error: any) {
84 // Display Error.
85 alert('Error: ' + error.message);
86 console.log(error);
87 // Re-enable the sign-in button.
88 signInButton.disabled = false;
89}
90
91/**
92 * Handles automatically signing-in the app if we clicked on the sign-in link in the email.

Callers 2

toggleSignInFunction · 0.85
handleSignInFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected