Where to find PrismaClientKnownRequestError with the new generated client
I cannot find the right place to import PrismaClientKnownRequestError from with the new version. This is my schema:
-
- The generated client does not expose the type in a public way
- The only place I can get it from is
How do I do this?
-
import { Prisma } from "@prisma/client"; does not exist- The generated client does not expose the type in a public way
- The only place I can get it from is
import { PrismaClientKnownRequestError } from "~/generated/prisma/internal/prismaNamespace"; which seems to be wrong, it is depending on internalsHow do I do this?