Automattic\WooCommerce\EmailEditor

HttpAwareException{} │ interface │ WC 1.0

Provides information for converting exceptions to HTTP responses.

No Hooks.

Usage

$HttpAwareException = new HttpAwareException();
// use class methods

Methods

  1. public getHttpStatusCode()

HttpAwareException{} code WC 11.1.2

interface HttpAwareException {
  public function getHttpStatusCode(): int;
}