mysql - How can I determine the MySqlException.Number? -
i thinking of creating case statement mysqlexceptions, based on number
property. there easy way determine if exception relates specific case? example, number
"1062" always refer "duplicate entry"?
according mysql documentation answer question is, yes.
http://dev.mysql.com/doc/refman/5.5/en/error-messages-server.html
or 5.6
http://dev.mysql.com/doc/refman/5.6/en/error-messages-server.html
when in doubt go dev.mysql...
Comments
Post a Comment