public function intercept(ResponseInterface $response)
    {
        $this->stopPropagation();
        $this->getTransaction()->setResponse($response);
        $this->exception->setThrowImmediately(false);
        RequestEvents::emitComplete($this->getTransaction());
    }
public function intercept(ResponseInterface $response)
    {
        $this->stopPropagation();
        $this->getTransaction()->setResponse($response);
        $this->exception->setThrowImmediately(false);
        RequestEvents::emitComplete($this->getTransaction());
    }
public function intercept ( ResponseInterface $ response ) { $ this -> stopPropagation ( ) ; $ this -> getTransaction ( ) -> setResponse ( $ response ) ; $ this -> exception -> setThrowImmediately ( false ) ; RequestEvents :: emitComplete ( $ this -> getTransaction ( ) ) ; }
Intercept the exception and inject a response

@param ResponseInterface $response Response to set
Intercept the exception and inject a response