From 3366f12c38719b01260bac2f932837e1a93bbfaf Mon Sep 17 00:00:00 2001 From: Enrique Ibarra Date: Mon, 19 May 2014 04:59:48 -0300 Subject: [PATCH] fixed call to ErrorException namespace --- src/Curl/Curl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();