MailPoet\EmailEditor

ConflictException::getHttpStatusCode()publicWC 1.0

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

Method of the class: ConflictException{}

No Hooks.

Return

null. Nothing (null).

Usage

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

ConflictException::getHttpStatusCode() code WC 9.8.1

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