wp-user-avatar
/
third-party
/
vendor
/
stripe
/
stripe-php
/
lib
/
Exception
/
OAuth
/
OAuthErrorException.php
wp-user-avatar
/
third-party
/
vendor
/
stripe
/
stripe-php
/
lib
/
Exception
/
OAuth
Last commit date
ExceptionInterface.php
2 months ago
InvalidClientException.php
2 months ago
InvalidGrantException.php
2 months ago
InvalidRequestException.php
2 months ago
InvalidScopeException.php
2 months ago
OAuthErrorException.php
2 months ago
UnknownOAuthErrorException.php
2 months ago
UnsupportedGrantTypeException.php
2 months ago
UnsupportedResponseTypeException.php
2 months ago
OAuthErrorException.php
19 lines
| 1 | <?php |
| 2 | |
| 3 | namespace ProfilePressVendor\Stripe\Exception\OAuth; |
| 4 | |
| 5 | /** |
| 6 | * Implements properties and methods common to all (non-SPL) Stripe OAuth |
| 7 | * exceptions. |
| 8 | */ |
| 9 | abstract class OAuthErrorException extends \ProfilePressVendor\Stripe\Exception\ApiErrorException |
| 10 | { |
| 11 | protected function constructErrorObject() |
| 12 | { |
| 13 | if (null === $this->jsonBody) { |
| 14 | return null; |
| 15 | } |
| 16 | return \ProfilePressVendor\Stripe\OAuthErrorObject::constructFrom($this->jsonBody); |
| 17 | } |
| 18 | } |
| 19 |