Drizzle equivalent of `findFirstOrThrow`

Is there an analgous way to do this code in drizzle?
const data = await prisma.appData.findFirstOrThrow({}));


is the best path forward to manually throw errors? is this a planned feature?
Was this page helpful?