change error codes to integers
Merge branch 'master' of https://github.com/centzy/fdb_proto