public function CurlHandle::setErrorNo

Set the curl error number

Parameters

int $error Error number to set:

Return value

CurlHandle

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlHandle.php, line 312

Class

CurlHandle
Immutable wrapper for a cURL handle

Namespace

Guzzle\Http\Curl

Code

public function setErrorNo($error) {
  $this->errorNo = $error;
  return $this;
}