Automattic\WooCommerce\EmailEditor

Exception::getErrors │ public │ WC 1.0

Метод класса: Exception{}

Хуков нет.

Возвращает

string[].

Использование

$Exception = new Exception();
$Exception->getErrors(): array;

Код Exception::getErrors() WC 11.2.2

public function getErrors(): array {
  return $this->errors;
}