Automattic\WooCommerce\Caching

CacheException::get_throwerpublicWC 1.0

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

Method of the class: CacheException{}

No Hooks.

Returns

Object. The object that threw the exception.

Usage

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

CacheException::get_thrower() code WC 9.9.5

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