Automattic\WooCommerce\StoreApi\Routes\V1\Agentic
Error::request_not_idempotent
Create a request not idempotent error.
Метод класса: Error{}
Хуков нет.
Возвращает
Error.
Использование
$result = Error::request_not_idempotent( $code, $message, $param );
- $code(строка) (обязательный)
- Implementation-defined error code.
- $message(строка) (обязательный)
- Human-readable error message.
- $param(строка|null)
- RFC 9535 JSONPath (optional).
По умолчанию:null
Код Error::request_not_idempotent() Error::request not idempotent WC 11.0.1
public static function request_not_idempotent( $code, $message, $param = null ) {
return new self( ErrorType::REQUEST_NOT_IDEMPOTENT, $code, $message, $param );
}