Automattic\WooCommerce\Internal\Agentic\Enums\Specs
ErrorType{}
Error types as defined in the Agentic Commerce Protocol.
Хуков нет.
Использование
$ErrorType = new ErrorType(); // use class methods
Методы
Нет Методов у класса.Код ErrorType{} ErrorType{} WC 11.0.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';
}