• File: OAuthErrorException.php
  • Full Path: /var/www/crm_set/application/vendor/stripe/stripe-php/lib/Exception/OAuth/OAuthErrorException.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 429 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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);
    }
}