mirror of
https://github.com/itflow-org/itflow
synced 2026-03-03 04:14:54 +00:00
Re-add stripe php library v 10.5.0, git errored because it had it's own git folder
This commit is contained in:
19
vendor/stripe-php-10.5.0/lib/Exception/OAuth/OAuthErrorException.php
vendored
Normal file
19
vendor/stripe-php-10.5.0/lib/Exception/OAuth/OAuthErrorException.php
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Stripe\Exception\OAuth;
|
||||
|
||||
/**
|
||||
* Implements properties and methods common to all (non-SPL) Stripe OAuth
|
||||
* exceptions.
|
||||
*/
|
||||
abstract class OAuthErrorException extends \Stripe\Exception\ApiErrorException
|
||||
{
|
||||
protected function constructErrorObject()
|
||||
{
|
||||
if (null === $this->jsonBody) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return \Stripe\OAuthErrorObject::constructFrom($this->jsonBody);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user