curl icon indicating copy to clipboard operation
curl copied to clipboard

Switch to using exception handling for errors.

Open KendallHopkins opened this issue 14 years ago • 1 comments

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.

KendallHopkins avatar Jun 21 '11 16:06 KendallHopkins

merged at nickl-/curl@8dec78dc34c68ecc3db88b7762fbf147b7c313cc

nickl- avatar Jun 19 '12 08:06 nickl-