React Router's data() throw creates a DataWithResponseInit object (type + data + init), not a Response or ErrorResponseImpl. Check for type === "DataWithResponseInit" to re-throw correctly. Verified: nonexistent session → 404, DB down → 503. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| db | ||
| gpx | ||
| i18n | ||
| map | ||
| types | ||
| ui | ||