curl:response -> exception on error