Question from the Next.js test

Create a custom error page for a specific route segment in Next JS

Easy

You are using the App Router in Next.js to create an error page that will be used in case of rendering errors or data-related errors for a specific route. What is the correct file for this?

- app/
  - your-route/
    - ???
- public/

Path : /app/your-route/???
Author: AnasStatus: PublishedQuestion passed 203 times
Edit
0
Community Evaluations
developer avatar
Maxime Javaux
19/04/2024
J'ai une question "_error.js" ne serrai pas mieux ?