public function displayConsole(string $code, string $message)
    {
        $str_additionnal = "\n\n";
        if ($this->type_error != null) {
            $str_additionnal .= " \nPHP Error type : ".$this->type_error;
        }
        if ($this->file_error != null) {
            $str_additionnal .= " \nFile : ".$this->file_error;
        }
        if ($this->line_error != null) {
            $str_additionnal .= " \nLine : ".$this->line_error;
        }

        \iumioFramework\Core\Additional\Manager\Display\OutputManager::displayAsError(
            "An exception was generated\n\nUidie : ".
            $this->uidie."\nTime : ". $this->time."\nType : ".
            $this->code." ".$this->codeTitle."\nEnv : ".
            $this->env."\nExplain : ". $this->explain.
            " \nSolution : ".$this->solution.$str_additionnal
        );

        exit(1);
    }
public function displayConsole(string $code, string $message)
    {
        $str_additionnal = "\n\n";
        if ($this->type_error != null) {
            $str_additionnal .= " \nPHP Error type : ".$this->type_error;
        }
        if ($this->file_error != null) {
            $str_additionnal .= " \nFile : ".$this->file_error;
        }
        if ($this->line_error != null) {
            $str_additionnal .= " \nLine : ".$this->line_error;
        }

        \iumioFramework\Core\Additional\Manager\Display\OutputManager::displayAsError(
            "An exception was generated\n\nUidie : ".
            $this->uidie."\nTime : ". $this->time."\nType : ".
            $this->code." ".$this->codeTitle."\nEnv : ".
            $this->env."\nExplain : ". $this->explain.
            " \nSolution : ".$this->solution.$str_additionnal
        );

        exit(1);
    }
public function displayConsole ( string $ code , string $ message ) { $ str_additionnal = "\n\n" ; if ( $ this -> type_error != null ) { $ str_additionnal .= " \nPHP Error type : " . $ this -> type_error ; } if ( $ this -> file_error != null ) { $ str_additionnal .= " \nFile : " . $ this -> file_error ; } if ( $ this -> line_error != null ) { $ str_additionnal .= " \nLine : " . $ this -> line_error ; } \ iumioFramework \ Core \ Additional \ Manager \ Display \ OutputManager :: displayAsError ( "An exception was generated\n\nUidie : " . $ this -> uidie . "\nTime : " . $ this -> time . "\nType : " . $ this -> code . " " . $ this -> codeTitle . "\nEnv : " . $ this -> env . "\nExplain : " . $ this -> explain . " \nSolution : " . $ this -> solution . $ str_additionnal ) ; exit ( 1 ) ; }
Display on console
@param string $code Header code
@param string $message Header message
@return mixed None
@throws \Exception
Display on console