Automattic\WooCommerce\EmailEditor

Exception::withErrorspublicWC 1.0

Method of the class: Exception{}

No Hooks.

Returns

static.

Usage

$Exception = new Exception();
$Exception->withErrors( $errors );
$errors(string[]) (required)
.

Exception::withErrors() code WC 10.7.0

public function withErrors(array $errors) {
  $this->errors = $errors;
  return $this;
}