Hi, reading the docs I've found some code blocks with missing and unused imports. So, I fixed them.
Also in the example of Exception Filter > Error code mapping > APP_FILTER there is an "or-logic" about using PrismaClientExceptionFilter or providePrismaClientExceptionFilter. In my opinion, these should be two distincs examples as above.
Hi, reading the docs I've found some code blocks with missing and unused imports. So, I fixed them. Also in the example of Exception Filter > Error code mapping > APP_FILTER there is an "or-logic" about using
PrismaClientExceptionFilter
orprovidePrismaClientExceptionFilter
. In my opinion, these should be two distincs examples as above.