Automattic\WooCommerce\Caching

CacheException::get_thrower()publicWC 1.0

Gets the object that threw the exception as passed to the exception constructor.

{} It's a method of the class: CacheException{}

No Hooks.

Return

Object. The object that threw the exception.

Usage

$CacheException = new CacheException();
$CacheException->get_thrower(): object;

Code of CacheException::get_thrower() WC 7.1.0

public function get_thrower(): object {
	return $this->thrower;
}