Debugging & troubleshooting
Debugging & troubleshooting
In this section
📄️ Debugging
You can enable debugging output in Prisma Client via the DEBUG environment variable. It accepts two namespaces to print debugging output:
📄️ Handling exceptions and errors
In order to handle different types of errors you can use instanceof to check what the error is and handle it accordingly.