Catch all exception and clasify them and throw errors.
Use the dedicated exception filters such as "PrismaExceptionFilter
Method to implement a custom exception filter.
the class of the exception being handled
Catch all exception and clasify them and throw errors.
Deprecated
Use the dedicated exception filters such as "PrismaExceptionFilter