trails/apps/planner/app
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
..
components Fix waypoint loading in Edit in Planner flow 2026-03-24 20:22:58 +00:00
lib Fix waypoint loading in Edit in Planner flow 2026-03-24 20:22:58 +00:00
routes Add withDb() helper for graceful DB error handling 2026-03-24 23:39:33 +01:00
root.tsx Add root ErrorBoundary to both apps, simplify withDb 2026-03-25 00:06:10 +01:00
routes.ts Implement Planner-Journal handoff (Group 9) 2026-03-24 20:22:58 +00:00