public static function defaultCliErrorRender(
        string $errType,
        string $errMsg,
        string $errFile,
        int $errLine,
        array $backtrace,
        $exceptionCode
    ) {
        if (!empty($exceptionCode)) {
            $errMsg = '#'.$exceptionCode.' : '.$errMsg;
        }
        
        //Create the cli message
        $msgError = $errType.' Error : '.$errMsg.
            ' in '.$errFile.' at line '.$errLine;
        
        echo "\033[0;37;41m".$msgError."\033[0m\n";
        ob_flush();
        exit;
    }
public static function defaultCliErrorRender(
        string $errType,
        string $errMsg,
        string $errFile,
        int $errLine,
        array $backtrace,
        $exceptionCode
    ) {
        if (!empty($exceptionCode)) {
            $errMsg = '#'.$exceptionCode.' : '.$errMsg;
        }
        
        //Create the cli message
        $msgError = $errType.' Error : '.$errMsg.
            ' in '.$errFile.' at line '.$errLine;
        
        echo "\033[0;37;41m".$msgError."\033[0m\n";
        ob_flush();
        exit;
    }
public static function defaultCliErrorRender ( string $ errType , string $ errMsg , string $ errFile , int $ errLine , array $ backtrace , $ exceptionCode ) { if ( ! empty ( $ exceptionCode ) ) { $ errMsg = '#' . $ exceptionCode . ' : ' . $ errMsg ; } //Create the cli message $ msgError = $ errType . ' Error : ' . $ errMsg . ' in ' . $ errFile . ' at line ' . $ errLine ; echo "\033[0;37;41m" . $ msgError . "\033[0m\n" ; ob_flush ( ) ; exit ; }
The default cli render in BFW

@param string   $errType : Human readable error severity
@param string   $errMsg : Error/exception message
@param string   $errFile : File where the error/exception is triggered
@param integer  $errLine : Line where the error/exception is triggered
@param array    $backtrace : Error/exception backtrace
@param int|null $exceptionCode : Exception code

@return void
The default cli render in BFW