curl
curl copied to clipboard
Switch to using exception handling for errors.
I know this will break backward compatibility but IMO it's very important to force programmers to handle curl errors, instead of passively handling them (via ->error()). It also removes the possible case where a person tries to treat the output of request as an object causing a fatal error to be triggered.
merged at nickl-/curl@8dec78dc34c68ecc3db88b7762fbf147b7c313cc