OAuth
6 months ago
ApiConnectionException.php
6 months ago
ApiErrorException.php
6 months ago
AuthenticationException.php
6 months ago
BadMethodCallException.php
6 months ago
CardException.php
6 months ago
ExceptionInterface.php
6 months ago
IdempotencyException.php
6 months ago
InvalidArgumentException.php
6 months ago
InvalidRequestException.php
6 months ago
PermissionException.php
6 months ago
RateLimitException.php
6 months ago
SignatureVerificationException.php
6 months ago
TemporarySessionExpiredException.php
6 months ago
UnexpectedValueException.php
6 months ago
UnknownApiErrorException.php
6 months ago
ExceptionInterface.php
19 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AmeliaVendor\Stripe\Exception; |
| 4 | |
| 5 | // TODO: remove this check once we drop support for PHP 5 |
| 6 | if (\interface_exists(\Throwable::class, false)) { |
| 7 | /** |
| 8 | * The base interface for all Stripe exceptions. |
| 9 | */ |
| 10 | interface ExceptionInterface extends \Throwable {} |
| 11 | } else { |
| 12 | /** |
| 13 | * The base interface for all Stripe exceptions. |
| 14 | */ |
| 15 | // phpcs:disable PSR1.Classes.ClassDeclaration.MultipleClasses |
| 16 | interface ExceptionInterface {} |
| 17 | // phpcs:enable |
| 18 | } |
| 19 |