protected function buildFailedOutputObject()
    {
        $error = '<!DOCTYPE html><html><head><title>An Error Occurred</title></head><body>';
        $error.= '<h1>Error ' . $this->statusCode . '</h1>';
        $error.= '<p>Sorry about that, please try again later!</p></body></html>';

        $output = new \Slab\Controllers\Response(
            static::ERROR_DISPLAY_RESOLVER,
            $error,
            $this->statusCode,
            ['Content-type' => 'text/html']
        );

        return $output;
    }
protected function buildFailedOutputObject()
    {
        $error = '<!DOCTYPE html><html><head><title>An Error Occurred</title></head><body>';
        $error.= '<h1>Error ' . $this->statusCode . '</h1>';
        $error.= '<p>Sorry about that, please try again later!</p></body></html>';

        $output = new \Slab\Controllers\Response(
            static::ERROR_DISPLAY_RESOLVER,
            $error,
            $this->statusCode,
            ['Content-type' => 'text/html']
        );

        return $output;
    }
protected function buildFailedOutputObject ( ) { $ error = '<!DOCTYPE html><html><head><title>An Error Occurred</title></head><body>' ; $ error .= '<h1>Error ' . $ this -> statusCode . '</h1>' ; $ error .= '<p>Sorry about that, please try again later!</p></body></html>' ; $ output = new \ Slab \ Controllers \ Response ( static :: ERROR_DISPLAY_RESOLVER , $ error , $ this -> statusCode , [ 'Content-type' => 'text/html' ] ) ; return $ output ; }
When a call queue fails, this method will be used

@return \Slab\Components\Output\ControllerResponseInterface
When a call queue fails this method will be used