fixed error codes #941
Merge branch 'bugfixes/tokumx-1.4' into releases/tokumx-1.4