Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default not-found and error pages for cuiloa #175

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

ejmg
Copy link
Collaborator

@ejmg ejmg commented Aug 15, 2024

Part of #25

This PR adds not-found.tsx and error.tsx to the app root app/ for the entire application. Any unhandled exceptions, i.e. thrown and uncaught errors, will now be handled by error.tsx. Similarly, any unknown page requests will be handled by not-found.tsx.

More refined handling can be added by adding custom pages at the segment level but I don't see a need for that right now

@ejmg ejmg merged commit 48fccd8 into main Aug 15, 2024
@ejmg ejmg deleted the default-NotFound-Error-pages branch August 15, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant