Файл: Main Website Files/assets/libraries/stripe-php-2.2.0/lib/Error/Base.php
Строк: 27
<?php
namespace StripeError;
use Exception;
abstract class Base extends Exception
{
public function __construct(
$message,
$httpStatus = null,
$httpBody = null,
$jsonBody = null
) {
parent::__construct($message);
$this->httpStatus = $httpStatus;
$this->httpBody = $httpBody;
$this->jsonBody = $jsonBody;
}
public function getHttpStatus()
{
return $this->httpStatus;
}
public function getHttpBody()
{
return $this->httpBody;
}
public function getJsonBody()
{
return $this->jsonBody;
}
}