Automattic\WooCommerce\EmailEditor

Exception::withMessagepublicWC 1.0

Method of the class: Exception{}

No Hooks.

Returns

static.

Usage

$Exception = new Exception();
$Exception->withMessage( $message );
$message(string) (required)
.

Exception::withMessage() code WC 10.6.2

public function withMessage(string $message) {
  $this->message = $message;
  return $this;
}