<itemvalue="feat: handle error trace with sentry."/>
<itemvalue="getInitialProps is not called in case of https:github.comvercelnext.jsissues8592. As a workaround, we pass err via _app.js so it can be captured"/>
<itemvalue="Running on the server, the response object (`res`) is available. Next.js will pass an err on the server if a page's data fetching methods threw or returned a Promise that rejected Running on the client (browser), Next.js will provide an err if: - a page's `getInitialProps` threw or returned a Promise that rejected - an exception was thrown somewhere in the React lifecycle (render, componentDidMount, etc) that was caught by Next.js's React Error Boundary. Read more about what types of exceptions are caught by Error Boundaries: https:reactjs.orgdocserror-boundaries.html"/>