is there a Prisma error that covers all possible e...
# orm-help
d
is there a Prisma error that covers all possible exceptions. example
Copy code
catch(error) {
  if (error instanceof AnyPrismaError) {
    ...
  }
}
I dont want to use a bunch if statements, I just want to log any error if its a prisma error
r
@Dev__ 👋 Currently not, you need to check for a specific error. It would be great if you could open a feature request so that we can look into this
👍 1
d