forked from Wavyzz/dolibarr
24 lines
484 B
PHP
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;
|
|
}
|
|
}
|