public function ensureLimit(\Exception $exception) { if ($this->total >= $this->giveUpAfter) { throw $exception; } }