Skip to content

Commit

Permalink
Update error.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
mcansh authored Jun 27, 2024
1 parent a68f626 commit 080506d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/playground/app/routes/error.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { defineLoader } from '@remix-run/node';

export const loader = defineLoader(async () => {
throw new Error('This is an error');
});

0 comments on commit 080506d

Please sign in to comment.