src/Application/SimpleApplication.php
private function executePipeline(PipelineInterface $pipeline, RequestInterface $request) : ResponseInterface
    {
        try{
            if ($request instanceof NullRequest) {
                throw new ComponentNotInstalledException(Components::REQUEST);
            }
            if ($pipeline instanceof NullPipeline) {
                throw new ComponentNotInstalledException(Components::PIPELINE);
            }
            return $pipeline->run($request);
        }
        catch(\Throwable $e)
        {
            throw new PipelineExecuteException(__METHOD__ . ' failed: ' . $e->getMessage() , $e);
        }
    }
private function executePipeline(PipelineInterface $pipeline, RequestInterface $request) : ResponseInterface
    {
        try{
            if ($request instanceof NullRequest) {
                throw new ComponentNotInstalledException(Components::REQUEST);
            }
            if ($pipeline instanceof NullPipeline) {
                throw new ComponentNotInstalledException(Components::PIPELINE);
            }
            return $pipeline->run($request);
        }
        catch(\Throwable $e)
        {
            throw new PipelineExecuteException(__METHOD__ . ' failed: ' . $e->getMessage() , $e);
        }
    }
Execute pipeline

@param PipelineInterface $pipeline
@param RequestInterface $request

@return ResponseInterface

@throws PipelineExecuteException