# Function: experimental_notFound()

> 

> **experimental\_notFound**(): `never`

Defined in: [packages/server/src/adapters/next-app-dir/notFound.ts:10](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/server/src/adapters/next-app-dir/notFound.ts#L10)

Like `notFound()` from `next/navigation`, but throws a `NOT_FOUND`
`TRPCError`, which `nextAppDirCaller` turns into Next.js's not-found
page.

## Returns

`never`
