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

Docs: Error in Learn Next.js: Handling Errors #65266

Open
angel-luis opened this issue May 2, 2024 · 1 comment
Open

Docs: Error in Learn Next.js: Handling Errors #65266

angel-luis opened this issue May 2, 2024 · 1 comment
Labels
Documentation Related to Next.js' official documentation.

Comments

@angel-luis
Copy link

What is the update you wish to see?

After complete the part of Handling all errors with error.tsx, if you follow the instructions of Handling 404 errors with the notFound function, you won't get any 404 page.

This is because, the docs says that this line will return an empty array:
console.log(invoice); // Invoice is an empty array []
But when the UUID doesn't exist, it throws an errors instead an empty array.

Is there any context that might help us understand?

I've downloaded the template the last week so everything should be updated.

Does the docs page already exist? Please link to it.

https://nextjs.org/learn/dashboard-app/error-handling

@angel-luis angel-luis added the Documentation Related to Next.js' official documentation. label May 2, 2024
@angel-luis
Copy link
Author

I've moved this to the next learn project: vercel/next-learn#662

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Related to Next.js' official documentation.
Projects
None yet
Development

No branches or pull requests

1 participant