Files
dolibarr/htdocs/includes/stripe/stripe-php/lib/Error/OAuth/OAuthBase.php
2020-03-13 03:07:28 +01:00

24 lines
484 B
PHP

<?php
namespace Stripe\Error\OAuth;
class OAuthBase extends \Stripe\Error\Base
{
public function __construct(
$code,
$description,
$httpStatus = null,
$httpBody = null,
$jsonBody = null,
$httpHeaders = null
) {
parent::__construct($description, $httpStatus, $httpBody, $jsonBody, $httpHeaders);
$this->errorCode = $code;
}
public function getErrorCode()
{
return $this->errorCode;
}
}