Typescript errors are handled gracefully in the /app/error.tsx high-level component. Error 404 (not found) is handled gracefully in the /app/not-found.tsx high-level component.
When an error occurs, a beautiful page is shown and users can reach out support through the < ButtonSupport /> component.
By default, it will open the Crisp customer chat (if crisp.id is present in config.ts). Here's the tutorial to set up Crisp.
If crisp.id is not set up in the config.ts file, it will open the user mail client (mailto:) and let them them an email to your email support (mailgun.supportEmail in config.ts)