I'm thinking of making a case statement for MySqlExceptions, based on the property. Is there an easy way to determine whether the exception is related to a specific case? For example, number
"1062" always refers to "duplicate entry"?
According to mysql documentation, the answer to your question is yes.
or for 5.6
When in doubt just go to dev.mysql ...
No comments:
Post a Comment