X

Create New Item

File Folder

X

Search Results

File "OAuthErrorException.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/stripe/stripe-php/lib/Exception/OAuth/OAuthErrorException.php
File size: 429 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?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);
    }
}