Question from the Next.js test

Create a global error handler in Next.js