Errors can be more informative

SQL state and ErrNo are very useful. So let's save them to Error object?
Merge pull request #556 from eakorolev/patch-1

Errors can be more informative