private handleUnrecoverableError()

in authui-container/src/admin-ui.ts [450:460]


  private handleUnrecoverableError(error: Error) {
    // Remove spinner if available.
    if (this.loadingSpinnerElement) {
      this.loadingSpinnerElement.remove();
    }
    this.containerElement.style.display = 'block';
    // Use a more informative/actionable error message than the default one.
    this.containerElement.innerText =
        error && (error as any).code && (error as any).code === 'auth/operation-not-allowed' ?
            MSG_GOOGLE_PROVIDER_NOT_CONFIGURED : error.message;
  }