App Router: Handling Errors | Next.js
App Router: Handling Errors | Next.js
nextjs.org
Related
Highlights
That's something to keep in mind, notFound will take precedence over error.tsx , so you can reach out for it when you want to handle more specific errors!
App Router: Handling Errors | Next.js