Files
shuffle_and_skirmish_website/wp-content/plugins/woocommerce-payments/includes/exceptions/class-subscription-mode-mismatch-exception.php
2025-11-24 21:33:55 +00:00

30 lines
796 B
PHP

<?php
/**
* Class Subscription_Mode_Mismatch_Exception
*
* @package WooCommerce\Payments
*/
namespace WCPay\Exceptions;
use WCPay\Exceptions\Base_Exception;
defined( 'ABSPATH' ) || exit;
/**
* Subscription_Mode_Mismatch_Exception class.
*/
class Subscription_Mode_Mismatch_Exception extends Base_Exception {
/**
* Subscription_Mode_Mismatch_Exception constructor.
*
* @param string $message The exception message.
* @param int $code The exception code.
* @param \Throwable|null $previous The previous exception.
*/
public function __construct( $message = 'The subscription mode does not match the current WooPayments mode.', $code = 0, $previous = null ) {
parent::__construct( $message, 'subscription_mode_mismatch', $code, $previous );
}
}