Question · Next.js course · Module 2: Routing and Layouts

The error.js File in App Router

The error.js file in App Router is used for:

Answer options

  • Handling component rendering errors
  • Logging errors
  • Configuring errors
  • Testing errors
Show the answer

Correct answer:

  • Handling component rendering errors