Closed step-baby closed 2 years ago
Hey @step-baby, sorry for the delay. This is a good suggestions and it has been discussed before. Please check related thread below and let us know your opinions:
Merge into https://github.com/SeaQL/sea-orm/issues/1194
Motivation
First of all, sea-orm is the orm framework I am looking forward to, and I have used this now. But I think this error handling is not friendly enough. It is impossible to judge the type of SQL execution error through an enumeration, such as the error of violating the unique constraint.
Proposed Solutions
Additional Information