Automattic\WooCommerce\Internal\PushNotifications\Exceptions

PushTokenNotFoundException::__constructpublicWC 10.6.0

Constructor.

Method of the class: PushTokenNotFoundException{}

No Hooks.

Returns

null. Nothing (null).

Usage

$PushTokenNotFoundException = new PushTokenNotFoundException();
$PushTokenNotFoundException->__construct();

Changelog

Since 10.6.0 Introduced.

PushTokenNotFoundException::__construct() code WC 10.7.0

public function __construct() {
	parent::__construct(
		'woocommerce_invalid_push_token',
		'Push token could not be found.',
		WP_Http::NOT_FOUND
	);
}