DEV Community

Discussion on: How to handle DB errors in Golang correctly

Collapse
 
potcode profile image
Potpot

You were exposing the technical details to the client, not to mention that the handler is tightly coupled with the database implementation by checking its internal error types