public void setServerErrorForAllRequests(StoreErrorCodes serverError) {
    this.hardError = serverError;
  }
Set the error to be set in the responses for all requests from this point onwards (until/unless another set or
reset method for errors is invoked).
@param serverError the error to set from this point onwards.
ambry-vcr/src/test/java/com/github/ambry/vcr/LatchBasedInMemoryCloudDestination.java