MCPcopy Index your code
hub / github.com/firebase/quickstart-js / displayError

Function displayError

auth/mfa-password.ts:595–598  ·  view source on GitHub ↗

* Alerts the error message in the toast and logs the error in the console. * @param {!Error} error The error to display.

(error: Error)

Source from the content-addressed store, hash-verified

593 * @param {!Error} error The error to display.
594 */
595function displayError(error: Error) {
596 alertMessage(error.message);
597 console.error(error);
598}
599
600/**
601 * Displays the error message in the mfa dialog and logs the error in the console.

Callers 1

passwordSignInFunction · 0.85

Calls 1

alertMessageFunction · 0.85

Tested by

no test coverage detected