seznam / SuperiorMySqlpp

SuperiorMySQL++
GNU Lesser General Public License v3.0
31 stars 20 forks source link

QueryError should have error code. #8

Closed niximor closed 8 years ago

niximor commented 8 years ago

QueryError should have separate member containing error code to be able to programatically decide what action to take when exception occurs.

Other option is to have separate exception class for each error code, but the first option is definitely easier and it should be enough.