diff --git a/src/Curl/Curl.php b/src/Curl/Curl.php index 60f0dde..d087023 100644 --- a/src/Curl/Curl.php +++ b/src/Curl/Curl.php @@ -39,7 +39,7 @@ class Curl { public function __construct() { if (!extension_loaded('curl')) { - throw new ErrorException('cURL library is not loaded'); + throw new \ErrorException('cURL library is not loaded'); } $this->curl = curl_init();