public function onError(Exception $error, RequestInterface $request) { $this->progress('error', array($error, $request)); throw $error; }