Improved diagnostic for RocksDB error codes