Errors
ErrorBoundary
is a component that can be used to catch errors in the component tree and display a fallback UI, isolating the failure from the rest of the app.
Example error
This is an example of an error boundary box.ErrorLayoutBox
is used to catch route-level errors and display a fallback UI, using Next.js 13's /app/
directory error
files. It is not recommended to use this component if it is possible to make a more context-optimized design for the specific route that is failing, however it serves as a reasonable fallback for any route that is failing.
Example error
This is an example of an error layout box.Join our newsletter to stay up to date on our progress!