Automattic\WooCommerce\Caching
CacheException::get_errors
Gets the array of error messages passed to the exception constructor.
Method of the class: CacheException{}
No Hooks.
Returns
Array. Error messages passed to the exception constructor.
Usage
$CacheException = new CacheException(); $CacheException->get_errors(): array;
CacheException::get_errors() CacheException::get errors code WC 10.8.1
public function get_errors(): array {
return $this->errors;
}