This could involve LK's ErrorBoundary, or we could keep our own. If we do the latter, it should be promoted somewhere else in the codebase.
We should also built in a facility for applications to bubble up errors and warnings, which ultimately get reported to the server's log, using the existing client APIs for that.