* Fail the example curl invocation on error. | * Properly print out result code on error.