PaymentGatewayException.php
22 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Framework\PaymentGateways\Exceptions; |
| 4 | |
| 5 | use Give\Framework\Exceptions\Primitives\Exception; |
| 6 | |
| 7 | /** |
| 8 | * @since 2.18.0 |
| 9 | */ |
| 10 | class PaymentGatewayException extends Exception |
| 11 | { |
| 12 | /** |
| 13 | * @param string $message - a human readable error message |
| 14 | * @param int $code [optional] The Exception code. |
| 15 | * @param null $previous [optional] The previous throwable used for the exception chaining. |
| 16 | */ |
| 17 | public function __construct($message, $code = 0, $previous = null) |
| 18 | { |
| 19 | parent::__construct($message, $code, $previous); |
| 20 | } |
| 21 | } |
| 22 |