code: public static HttpFailure sendErrorResponse(int code, String body) {
      return new HttpFailure(new MockResponse().setResponseCode(code).setBody(body));
    }
docs: Ex code 400 when the server cannot read the spans