Add support for custom error pages, similar to of [Next.js error.js](https://nextjs.org/docs/app/api-reference/file-conventions/error)