Automattic\WooCommerce\EmailEditor

UnexpectedValueException::getHttpStatusCodepublicWC 1.0

USE: When wrong data VALUE is received. API: 400 Bad Request

Method of the class: UnexpectedValueException{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

UnexpectedValueException::getHttpStatusCode() code WC 10.8.1

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