public void setServerErrors(List<StoreErrorCodes> serverErrors) {
    this.serverErrors.clear();
    this.serverErrors.addAll(serverErrors);
  }
Set the error for each request from this point onwards that affects subsequent requests sent to this node
(until/unless the next set or reset error method is invoked).
Each request from the list is used exactly once and in order. So, if the list contains {No_Error, Unknown_Error,
Disk_Error}, then the first, second and third requests would receive No_Error,
Unknown_Error and Disk_Error respectively. Once the errors are exhausted, the default No_Error is assumed for
all further requests until the next call to this method.
@param serverErrors the list of errors that affects subsequent PutRequests.
ambry-vcr/src/test/java/com/github/ambry/vcr/LatchBasedInMemoryCloudDestination.java