diff options
Diffstat (limited to 'Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Exception.php')
-rw-r--r-- | Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Exception.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Exception.php b/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Exception.php deleted file mode 100644 index 9fc26e2..0000000 --- a/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Exception.php +++ /dev/null @@ -1,14 +0,0 @@ -<?php - -namespace SendGrid; - -/** - * An exception thrown when SendGrid does not return a 200 - */ -class Exception extends \Exception -{ - public function getErrors() - { - return json_decode($this->message)->errors; - } -} |