diff options
author | zaporylie <jakub@nymedia.no> | 2016-03-13 09:14:18 +0100 |
---|---|---|
committer | zaporylie <jakub@nymedia.no> | 2016-03-13 09:14:18 +0100 |
commit | aa6350bf6e10436ba358bd3cbdb1722e5596965c (patch) | |
tree | d155117c2ee72e86bdf1afc13c0773e8eb9a3818 | |
parent | 46a38eefcdcadf60041fe5abde96a99f3d93db0c (diff) | |
download | php-sparkpost-aa6350bf6e10436ba358bd3cbdb1722e5596965c.zip php-sparkpost-aa6350bf6e10436ba358bd3cbdb1722e5596965c.tar.gz php-sparkpost-aa6350bf6e10436ba358bd3cbdb1722e5596965c.tar.bz2 |
Rename to
-rw-r--r-- | lib/SparkPost/APIResponseException.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/SparkPost/APIResponseException.php b/lib/SparkPost/APIResponseException.php index b7e3896..bc0e782 100644 --- a/lib/SparkPost/APIResponseException.php +++ b/lib/SparkPost/APIResponseException.php @@ -16,15 +16,15 @@ class APIResponseException extends \Exception { /** * @var string */ - protected $apiMessageDescription; + protected $apiDescription; /** * Construct the exception. */ - public function __construct($message = "", $code = 0, $apiMessage = "", $apiCode = 0, $apiMessageDescription = "") { + public function __construct($message = "", $code = 0, $apiMessage = "", $apiCode = 0, $apiDescription = "") { $this->apiMessage = $apiMessage; $this->apiCode = $apiCode; - $this->apiMessageDescription = $apiMessageDescription; + $this->apiDescription = $apiDescription; parent::__construct($message, $code); } @@ -45,11 +45,11 @@ class APIResponseException extends \Exception { } /** - * Gets the Exception message - * @return string the Exception message as a string. + * Gets the Exception description + * @return string the Exception description as a string. */ - public function getAPIMessageDescription() { - return $this->apiMessageDescription; + public function getAPIDescription() { + return $this->apiDescription; } } |