Really fix issue #41 by properly consuming error codes
Merge pull request #44 from treilly-nuodb/master

Really fix issue #41 by properly consuming error codes