HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/ActionSchedulerException.php.tar
httpdocs/wp-content/plugins/google-listings-and-ads/src/ActionScheduler/ActionSchedulerException.php000064400000001567151546346220036356 0ustar00var/www/vhosts/uyarreklam.com.tr<?php
declare( strict_types=1 );

namespace Automattic\WooCommerce\GoogleListingsAndAds\ActionScheduler;

use Automattic\WooCommerce\GoogleListingsAndAds\Exception\GoogleListingsAndAdsException;
use LogicException;

defined( 'ABSPATH' ) || exit;

/**
 * Class ActionSchedulerException
 *
 * @package Automattic\WooCommerce\GoogleListingsAndAds\ActionScheduler
 */
class ActionSchedulerException extends LogicException implements GoogleListingsAndAdsException {

	/**
	 * Create a new exception instance for when a job item is not found.
	 *
	 * @param string $action Action name
	 *
	 * @return ActionSchedulerException
	 */
	public static function action_not_found( string $action ): ActionSchedulerException {
		return new static(
			sprintf(
			/* translators: %s: the action name */
				__( 'No action matching %s was found.', 'google-listings-and-ads' ),
				$action
			)
		);
	}
}