Skip to content

CurlHandler :: getError()

Brian Boll edited this page Apr 22, 2018 · 2 revisions

CurlHandler :: getError()

$ch = new CurlHandler('this_is_not_a_valid_URL');

$ch->execute();

//"Couldn't resolve host name"
echo $ch->getError();

Parameters [0]:

No parameters

Returns:

One of the human readable errors detailed here

Clone this wiki locally