CADELmx / GPD_BACKEND

This is a NESTjs project that implements the GPD project's backend logic
MIT License
1 stars 0 forks source link

Error handler for prisma #30

Closed DiegoSHS closed 1 month ago

DiegoSHS commented 1 month ago

Implementation suggest

I find this concept a cool idea, but we can make this more efficient and compact

Upgrades

we can upgrade the PrismaErrorHandler class by following this steps

_Originally posted by @DiegoSHS in https://github.com/CADELmx/GPD_BACKEND/discussions/23#discussioncomment-10041088_

DiegoSHS commented 1 month ago

Validación de errores de prisma

DiegoSHS commented 1 month ago

Override of existent functionalities

Some of the current functionalities do the same error handeling of some of the cases in this proposal of implementation Existing functionalities that can be replaced or removed from the proposal:

_Originally posted by @DiegoSHS in https://github.com/CADELmx/GPD_BACKEND/discussions/23#discussioncomment-10078089_