Skip to content

Commit

Permalink
add error export
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshuxkumar committed Jan 25, 2025
1 parent 4b2a9e1 commit 9bdf8ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/db/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { PrismaClient } from "@prisma/client";
import { PrismaClient } from "@prisma/client";
import { PrismaClientValidationError } from "@prisma/client/runtime/library";

const prisma = new PrismaClient();
export default prisma;
export {prisma , PrismaClientValidationError};

0 comments on commit 9bdf8ec

Please sign in to comment.