/**
  * On multi request errored event.
  *
  * @param \Ivory\HttpAdapter\Event\MultiRequestErroredEvent $event The multi request errored event.
  */
 public function onMultiResponseErrored(MultiRequestErroredEvent $event)
 {
     foreach ($event->getExceptions() as $exception) {
         if ($exception->hasResponse()) {
             $this->cookieJar->extract($exception->getRequest(), $exception->getResponse());
         }
     }
 }