trails/apps
Ullrich Schäfer dee6f2806f
Add root ErrorBoundary to both apps, simplify withDb
Both apps now have proper ErrorBoundary exports in root.tsx:
- 404: "Page not found"
- 503: "Service temporarily unavailable"
- Other: shows error message

Simplified withDb re-throw check: anything with a "status" property
is treated as a React Router response (covers Response and
ErrorResponseImpl). DB errors throw a plain Response(503) that
the error boundary renders nicely.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 00:06:10 +01:00
..
journal Add root ErrorBoundary to both apps, simplify withDb 2026-03-25 00:06:10 +01:00
planner Add root ErrorBoundary to both apps, simplify withDb 2026-03-25 00:06:10 +01:00