> For the complete documentation index, see [llms.txt](https://phoenixcoded.gitbook.io/saasable/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://phoenixcoded.gitbook.io/saasable/ui-kit/development/error-handling.md).

# Error Handling

#### Error 404 (not found) is handled in the `src/app/not-found.tsx` high-level component. For more information about the not-found page, visit  the [docs](https://nextjs.org/docs/app/api-reference/file-conventions/not-found)

<div align="left" data-full-width="true"><figure><img src="/files/Uhrumu0VUXtFLlfKqNUB" alt=""><figcaption></figcaption></figure></div>

#### Any other server or JavaScript error is handled at `src/app/error.tsx` For more information about the not-found page, visit the [docs](https://nextjs.org/docs/app/api-reference/file-conventions/error)

<div data-full-width="true"><figure><img src="/files/9H2qHrb3uh5n2FG363tn" alt=""><figcaption></figcaption></figure></div>
