./routes/errors.tsx
./routes/errors/good.tsx
The bad.tsx is designed to will break at runtime. The error will be caught by the nearest error boundary present up in the hierarchy (/routes/errors.tsx in this case).