xorm icon indicating copy to clipboard operation
xorm copied to clipboard

customize the errors

Open rhernandez-itemsoft opened this issue 5 years ago • 0 comments

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"]

rhernandez-itemsoft avatar Aug 01 '19 17:08 rhernandez-itemsoft