martpie/next-with-error

Automatically use _error page if it exists

martpie opened this issue · 0 comments

Currently, the users need to explicitly pass a custom Error component in order to not use the default Next.js error page.

Maybe we can automate this and detect if pages/_error.js exists and use it automagically.