src/ConsoleErrorRenderer.php
public function get():string
    {
        // renders the error
        $out = "\n"
            .$this->getBlankLine()
            .$this->getLine("Error", self::STYLE_TITLE)
            .$this->getBlankLine()
            .$this->getErrorBlock($this->throwable);

        if ($this->options & self::OPT_RENDER_PREVIOUS_EXCEPTIONS
            && $previous = $this->throwable->getPrevious()) {

            $out .= $this->getBlankLine(3)
                .$this->getLine("Previous errors", self::STYLE_SUBTITLE);
            $isFirst = true;
            do {
                if (!$isFirst) {
                    $out .= $this->getBlankLine(2);
                }
                $out .= $this->getErrorBlock($previous, 2);
                $isFirst = false;
            }
            while ($previous = $previous->getPrevious());
        }

        $out .= $this->getBlankLine()
            .$this->getLine("End error",self::STYLE_TITLE)
            .$this->getBlankLine()
            ."\n";
        return $out;
    }
public function get():string
    {
        // renders the error
        $out = "\n"
            .$this->getBlankLine()
            .$this->getLine("Error", self::STYLE_TITLE)
            .$this->getBlankLine()
            .$this->getErrorBlock($this->throwable);

        if ($this->options & self::OPT_RENDER_PREVIOUS_EXCEPTIONS
            && $previous = $this->throwable->getPrevious()) {

            $out .= $this->getBlankLine(3)
                .$this->getLine("Previous errors", self::STYLE_SUBTITLE);
            $isFirst = true;
            do {
                if (!$isFirst) {
                    $out .= $this->getBlankLine(2);
                }
                $out .= $this->getErrorBlock($previous, 2);
                $isFirst = false;
            }
            while ($previous = $previous->getPrevious());
        }

        $out .= $this->getBlankLine()
            .$this->getLine("End error",self::STYLE_TITLE)
            .$this->getBlankLine()
            ."\n";
        return $out;
    }
Renders the exception.