Automattic\WooCommerce\Internal\PushNotifications\Exceptions
PushTokenNotFoundException{}└─ WC_Data_Exception
Exception thrown when a push token cannot be found.
No Hooks.
Usage
$PushTokenNotFoundException = new PushTokenNotFoundException(); // use class methods
Methods
- public __construct()
Changelog
| Since 10.5.0 | Introduced. |
PushTokenNotFoundException{} PushTokenNotFoundException{} code WC 10.7.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
);
}
}