protected function setParams($code, $msg, $file, $line, $trace)
    {
        return $this->stack = [
            'message'     => $msg,
            'file'        => $file,
            'line'        => $line,
            'code'        => ($code === 0) ? 404 : $code,
            'trace'       => $trace,
            'previewCode' => '',
            'editor'      => $this->setEditor,
            'editorUri'   => $this->getEditor($this->setEditor),
        ];
    }
protected function setParams($code, $msg, $file, $line, $trace)
    {
        return $this->stack = [
            'message'     => $msg,
            'file'        => $file,
            'line'        => $line,
            'code'        => ($code === 0) ? 404 : $code,
            'trace'       => $trace,
            'previewCode' => '',
            'editor'      => $this->setEditor,
            'editorUri'   => $this->getEditor($this->setEditor),
        ];
    }
protected function setParams ( $ code , $ msg , $ file , $ line , $ trace ) { return $ this -> stack = [ 'message' => $ msg , 'file' => $ file , 'line' => $ line , 'code' => ( $ code === 0 ) ? 404 : $ code , 'trace' => $ trace , 'previewCode' => '' , 'editor' => $ this -> setEditor , 'editorUri' => $ this -> getEditor ( $ this -> setEditor ) , ] ; }
Set the error item to stack.

@param (int)    $code
@param (string) $msg
@param (string) $file
@param (int)    $line
@param (string) $trace

@since 3.0.0

@return mixed
Set the error item to stack .