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 9.9.5
public function get_errors(): array { return $this->errors; }