File "PushTokenNotFoundException.php"
Full Path: /home/buyiwexj/public_html/wp-content/plugins/woocommerce/src/Internal/PushNotifications/Exceptions/PushTokenNotFoundException.php
File size: 583 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* PushTokenNotFoundException class file.
*/
declare( strict_types = 1 );
namespace Automattic\WooCommerce\Internal\PushNotifications\Exceptions;
defined( 'ABSPATH' ) || exit;
use WC_Data_Exception;
use WP_Http;
/**
* Exception thrown when a push token cannot be found.
*
* @since 10.5.0
*/
class PushTokenNotFoundException extends WC_Data_Exception {
/**
* Constructor.
*
* @since 10.6.0
*/
public function __construct() {
parent::__construct(
'woocommerce_invalid_push_token',
'Push token could not be found.',
WP_Http::NOT_FOUND
);
}
}