GuidesError Handling

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 to 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 setup in the /config.ts file, it will open the user's mail client (mailto:) and let the them send an email to your support email (mailgun.supportEmail in /config.ts)