Automattic\WooCommerce\StoreApi\Routes\V1\Agentic
Error::request_not_idempotent
Create a request not idempotent error.
Method of the class: Error{}
No Hooks.
Returns
Error.
Usage
$result = Error::request_not_idempotent( $code, $message, $param );
- $code(string) (required)
- Implementation-defined error code.
- $message(string) (required)
- Human-readable error message.
- $param(string|null)
- RFC 9535 JSONPath (optional).
Default:null
Error::request_not_idempotent() Error::request not idempotent code WC 10.8.1
public static function request_not_idempotent( $code, $message, $param = null ) {
return new self( ErrorType::REQUEST_NOT_IDEMPOTENT, $code, $message, $param );
}