if I have an instance of `Error`, does it also wor...
# orm-help
d
if I have an instance of
Error
, does it also work if I use
PrismaClientKnownRequestError
. example
Copy code
catch(error) {
  if (error instanceof PrismaClientKnownRequestError) { // does this also check for instance of Error since its extending Error
    ...
  }
}
r
Yeah it should