OAuth
4 years ago
ApiConnectionException.php
4 years ago
ApiErrorException.php
4 years ago
AuthenticationException.php
4 years ago
BadMethodCallException.php
4 years ago
CardException.php
4 years ago
ExceptionInterface.php
4 years ago
IdempotencyException.php
4 years ago
InvalidArgumentException.php
4 years ago
InvalidRequestException.php
4 years ago
PermissionException.php
4 years ago
RateLimitException.php
4 years ago
SignatureVerificationException.php
4 years ago
UnexpectedValueException.php
4 years ago
UnknownApiErrorException.php
4 years ago
ExceptionInterface.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | namespace 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 | { |
| 12 | } |
| 13 | } else { |
| 14 | /** |
| 15 | * The base interface for all Stripe exceptions. |
| 16 | */ |
| 17 | // phpcs:disable PSR1.Classes.ClassDeclaration.MultipleClasses |
| 18 | interface ExceptionInterface |
| 19 | { |
| 20 | } |
| 21 | // phpcs:enable |
| 22 | } |
| 23 |