M2_Stripe_Error

The Membership 2 M2 Stripe Error class.

Defined (1)

The class is defined in the following location(s).

/lib/stripe-php/lib/Stripe/Error.php  
  1. class M2_Stripe_Error extends Exception 
  2. public function __construct($message, $httpStatus=null,  
  3. $httpBody=null, $jsonBody=null 
  4. parent::__construct($message); 
  5. $this->httpStatus = $httpStatus; 
  6. $this->httpBody = $httpBody; 
  7. $this->jsonBody = $jsonBody; 
  8.  
  9. public function getHttpStatus() 
  10. return $this->httpStatus; 
  11.  
  12. public function getHttpBody() 
  13. return $this->httpBody; 
  14.  
  15. public function getJsonBody() 
  16. return $this->jsonBody;