\InvalidArgumentException If the cache pool with the given name does not exist
public function clearPool(string $name) : bool { if (!isset($this->pools[$name])) { throw new \InvalidArgumentException(\sprintf('Cache pool not found: "%s".', $name)); } return $this->pools[$name] ->clear(); }