Render failure response for CapturePartial endpoint when disabled

This brings the same facility to simulate failure responses on the CapturePartial endpoint.
@britto as we're just simulating a response in a specific scenario, I believe that's fine. The `returnCode` field is what the clients will care the most.