Add global error handling (Phase 2)
- Create useGlobalErrorHandler composable that wires up three
  global error-catching surfaces:
    1. app.config.errorHandler — Vue runtime errors (render,
       watchers, lifecycle hooks, event handlers).
    2. window 'unhandledrejection' — rejected promises without catch.
    3. window 'error' — synchronous JS runtime errors.
- Create AppErrorBoundary component wrapping RouterView to catch
  Vue errors in child components and show fallback UI (AppErrorState
  with Retry) instead of a blank screen.
- Apply the boundary in App.vue so every routed page is protected.

All 126 Vitest tests pass.
1 parent fd3dd17 commit cdce0feec3d50b2f6c6c6f162ee3488061b6da3f
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 9 hours ago
Showing 4 changed files
View
webclient-vue/src/app/App.vue
View
webclient-vue/src/app/main.js
View
webclient-vue/src/components/feedback/AppErrorBoundary.vue 0 → 100644
View
webclient-vue/src/composables/useGlobalErrorHandler.js 0 → 100644