Further reading
You can find a list of all HTTP status codes on MDN: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status.
If you want to learn more about exception and error handling, I recommend that you check out Shawn Wang's (@swyx
) blog post Errors Are Not Exceptions: https://www.swyx.io/errors-not-exceptions.
You can find more information about the ErrorBoundary
route module export in the Remix documentation: https://remix.run/docs/en/2/route/error-boundary.
The Remix docs also contain a guide with more information about not-found error handling, which you can find here: https://remix.run/docs/en/2/guides/not-found.