next-with-error
next-with-error copied to clipboard
Next.js plugin to render the Error page and send the correct HTTP status code from any page
Is it possible to use this package in combination with the recommended data fetching method `getServerSideProps`? https://nextjs.org/docs/api-reference/data-fetching/getInitialProps > If you're using Next.js 9.3 or newer, we recommend that you use...
Breaking changes may need to be introduced in order to make it work. https://nextjs.org/blog/next-9-3
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`...