Automattic\WooCommerce\EmailEditor
Exception::withErrors
Method of the class: Exception{}
No Hooks.
Returns
static.
Usage
$Exception = new Exception(); $Exception->withErrors( $errors );
- $errors(string[]) (required)
- .
Exception::withErrors() Exception::withErrors code WC 10.7.0
public function withErrors(array $errors) {
$this->errors = $errors;
return $this;
}