[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/externals/stripe-php/lib/Stripe/ -> Error.php (source)

   1  <?php
   2  
   3  class Stripe_Error extends Exception
   4  {
   5    public function __construct($message, $httpStatus=null,
   6        $httpBody=null, $jsonBody=null
   7    )
   8    {
   9      parent::__construct($message);
  10      $this->httpStatus = $httpStatus;
  11      $this->httpBody = $httpBody;
  12      $this->jsonBody = $jsonBody;
  13    }
  14  
  15    public function getHttpStatus()
  16    {
  17      return $this->httpStatus;
  18    }
  19  
  20    public function getHttpBody()
  21    {
  22      return $this->httpBody;
  23    }
  24  
  25    public function getJsonBody()
  26    {
  27      return $this->jsonBody;
  28    }
  29  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1