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> |
||
|---|---|---|
| .. | ||
| src | ||
| drizzle.config.ts | ||
| package.json | ||
| tsconfig.json | ||