src/Debugger/Bar/TracePanel.php
protected function setError($message, array $lastError = null)
    {
        $this->isError = true;
        $this->errMessage = $message;

        if ($lastError !== null) {
            $this->errMessage .= ': ' . $lastError['message'];
            $this->errFile = $lastError['file'];
            $this->errLine = $lastError['line'];
        }
    }
protected function setError($message, array $lastError = null)
    {
        $this->isError = true;
        $this->errMessage = $message;

        if ($lastError !== null) {
            $this->errMessage .= ': ' . $lastError['message'];
            $this->errFile = $lastError['file'];
            $this->errLine = $lastError['line'];
        }
    }
protected function setError ( $ message , array $ lastError = null ) { $ this -> isError = true ; $ this -> errMessage = $ message ; if ( $ lastError !== null ) { $ this -> errMessage .= ': ' . $ lastError [ 'message' ] ; $ this -> errFile = $ lastError [ 'file' ] ; $ this -> errLine = $ lastError [ 'line' ] ; } }
Sets internal error variables.

@param  string $message   error message
@param  array  $lastError error_get_last()
Sets internal error variables .