Automattic\WooCommerce\Caching

CacheException::get_errors()publicWC 1.0

Gets the array of error messages passed to the exception constructor.

Method of the class: CacheException{}

No Hooks.

Return

Array. Error messages passed to the exception constructor.

Usage

$CacheException = new CacheException();
$CacheException->get_errors(): array;

CacheException::get_errors() code WC 9.4.2

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