Merge pull request #494 from FindTheBest/develop_2.0

Fixing bug in new APIClientException
This commit is contained in:
Tony Tam 2015-03-13 09:44:02 -07:00
commit fc52ab972b

View File

@ -260,7 +260,7 @@ class APIClient {
class APIClientException extends Exception { class APIClientException extends Exception {
protected $response, $response_info; protected $response, $response_info;
public class __construct($message="", $code=0, $response_info=null, $response=null) { public function __construct($message="", $code=0, $response_info=null, $response=null) {
parent::__construct($message, $code); parent::__construct($message, $code);
$this->response_info = $response_info; $this->response_info = $response_info;
$this->response = $response; $this->response = $response;