Add fatal application error UI #41980
Labels
Feature:New Platform
stale
Used to mark issues that were closed for being stale
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Related to #18843
In the legacy platform we have the notion of a "fatal error UI" that covers the entire page when the current app encounters an error it cannot recover from.
In the new platform, we're running a single page application. It is possible for a UI app to fail, but we shouldn't need to crash the entire frontend in this situation and instead should unmount the UI app, display an error, and keep the Chrome UI showing.
This issue is to add a helper to the ApplicationService that UI apps can use to show a uniform UI for this situation. This should be used in place of the FatalErrorService which after this change, should probably only be used by Core itself.
The text was updated successfully, but these errors were encountered: