src/Dev/CliDebugView.php
public function renderError($httpRequest, $errno, $errstr, $errfile, $errline)
    {
        if (!isset(self::$error_types[$errno])) {
            $errorTypeTitle = "UNKNOWN TYPE, ERRNO $errno";
        } else {
            $errorTypeTitle = self::$error_types[$errno]['title'];
        }
        $output = CLI::text("ERROR [" . $errorTypeTitle . "]: $errstr\nIN $httpRequest\n", "red", null, true);
        $output .= CLI::text("Line $errline in $errfile\n\n", "red");

        return $output;
    }
public function renderError($httpRequest, $errno, $errstr, $errfile, $errline)
    {
        if (!isset(self::$error_types[$errno])) {
            $errorTypeTitle = "UNKNOWN TYPE, ERRNO $errno";
        } else {
            $errorTypeTitle = self::$error_types[$errno]['title'];
        }
        $output = CLI::text("ERROR [" . $errorTypeTitle . "]: $errstr\nIN $httpRequest\n", "red", null, true);
        $output .= CLI::text("Line $errline in $errfile\n\n", "red");

        return $output;
    }
public function renderError ( $ httpRequest , $ errno , $ errstr , $ errfile , $ errline ) { if ( ! isset ( self :: $ error_types [ $ errno ] ) ) { $ errorTypeTitle = "UNKNOWN TYPE, ERRNO $errno" ; } else { $ errorTypeTitle = self :: $ error_types [ $ errno ] [ 'title' ] ; } $ output = CLI :: text ( "ERROR [" . $ errorTypeTitle . "]: $errstr\nIN $httpRequest\n" , "red" , null , true ) ; $ output .= CLI :: text ( "Line $errline in $errfile\n\n" , "red" ) ; return $ output ; }
Write information about the error to the screen

@param string $httpRequest
@param int $errno
@param string $errstr
@param string $errfile
@param int $errline
@return string
Write information about the error to the screen