public void setGetErrorOnDataBlobOnly(boolean getErrorOnDataBlobOnly) {
    this.getErrorOnDataBlobOnly = getErrorOnDataBlobOnly;
  }
Set whether the mock server should set the error code for all blobs or just data blobs on get requests.
@param getErrorOnDataBlobOnly {@code true} if the preset error code should be set only on data blobs in a get
                              request, {@code false} otherwise
ambry-router/src/test/java/com/github/ambry/router/MockServer.java