# 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 [docs](https://nextjs.org/docs/app/api-reference/file-conventions/not-found)

<div align="left" data-full-width="true"><figure><img src="https://2208415352-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqzhBzJakUXsoGTJarvBa%2Fuploads%2FmBegtEFxVavV9OODzTmt%2Fimage.png?alt=media&#x26;token=5d27a7d2-1a85-4fb2-819a-2d0453ff8f0e" 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 [docs](https://nextjs.org/docs/app/api-reference/file-conventions/error)

<div data-full-width="true"><figure><img src="https://2208415352-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqzhBzJakUXsoGTJarvBa%2Fuploads%2F1mU8343ea4RqW8z2nVMo%2Fimage.png?alt=media&#x26;token=339951c9-d1a0-4516-9b53-17d17a3ab744" alt=""><figcaption></figcaption></figure></div>
