Automattic\WooCommerce\EmailEditor

ConflictException::getHttpStatusCodepublicWC 1.0

USE: When the main action produces conflict (i.e. duplicate key). API: 409 Conflict

Method of the class: ConflictException{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ConflictException = new ConflictException();
$ConflictException->getHttpStatusCode(): int;

ConflictException::getHttpStatusCode() code WC 10.8.1

public function getHttpStatusCode(): int {
  return 409;
}