next-with-error icon indicating copy to clipboard operation
next-with-error copied to clipboard

Automatically use _error page if it exists

Open martpie opened this issue 5 years ago • 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.

martpie avatar Dec 30 '19 02:12 martpie