Closed
Description
Every driver implementing "database/sql/driver" returns different messages when there are errors related to the integrity of constraints so they can not be handled easily.
So I did a proposal to add a type of error in the package "database/sql/driver" so it should be implemented by every driver.
Here it is the message with the proposal:
https://groups.google.com/forum/#!topic/golang-nuts/ECKF7N3jvjw