xorm
xorm copied to clipboard
customize the errors
How can i customize the errors? For example: I have a unique key and I get an error by inserting a duplicate. Xorm shows me [com 'for key' u_email '], but i would prefer to change it to [Error {Code: 1062, Error: "TheMessageError FromSQL"]