Remove trivially unused ErrorCodes
merge nathanlws: Remove trivially unused ErrorCodes

Merge pull request #1005 from nathanlws/sql-layer/remove-unused-error-codes
https://github.com/FoundationDB/sql-layer/pull/1005