MailPoet\EmailEditor

Exception::withErrors()publicWC 1.0

Method of the class: Exception{}

No Hooks.

Return

static.

Usage

$Exception = new Exception();
$Exception->withErrors( $errors );
$errors(array) (required)
-

Exception::withErrors() code WC 9.8.1

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