Aborts doing anything if the response generated an 
error.