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

Popular posts from this blog

c# - ItextSharp font color issue in ver 5.5.4+ -

jquery - Multiple issues with pushstate: history, loading, calling functions -

ios - retrievePeripherals deprecated in IOS7 how to substitude it with retrievePeripheralsWithIdentifiers -