Closed niximor closed 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.
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.