// value deleted, ignoring error code
} else if (error.code() == Error.NOREC) {
//[code=22, message=no record found]
throw new RecordNotFoundException("The record for key [0x" + HexUtil.toHexString(key) + "] was not found");
} else {
throw new DataStoreFatalException("Unable to delete record with key [0x" + HexUtil.toHexString(key) + "] [code=" + error.code() + ", message=" + error.message() + "]");
}
}
Error error = db.error();
if (error != null && error.code() != 0) logger.trace("Error on remove {} {} {}", HexUtil.toHexString(key), error.code(), error);