Automattic\WooCommerce\Internal\Agentic\Enums\Specs

ErrorType{}WC 1.0

Error types as defined in the Agentic Commerce Protocol.

No Hooks.

Usage

$ErrorType = new ErrorType();
// use class methods

Methods

No Methods in class.

ErrorType{} code WC 10.8.1

class ErrorType {
	/**
	 * Invalid request.
	 */
	const INVALID_REQUEST = 'invalid_request';

	/**
	 * Request not idempotent.
	 */
	const REQUEST_NOT_IDEMPOTENT = 'request_not_idempotent';

	/**
	 * Processing error.
	 */
	const PROCESSING_ERROR = 'processing_error';

	/**
	 * Service unavailable.
	 */
	const SERVICE_UNAVAILABLE = 'service_unavailable';
}