JohnCosta27 / LessonLog

0 stars 0 forks source link

Implement better error handling in try catch of register method,. #11

Open JohnCosta27 opened 2 years ago

JohnCosta27 commented 2 years ago

Prisma contains a bunch of error codes which can be used for various purposes.

It is intresting to note that when handled properly I should never need the database error message, so this might need to be deleted, or kept just in case.