protected function renderTitle(Inspector $inspector): WriterContract
    {
        $exception = $inspector->getException();
        $message = $exception->getMessage();
        $class = $inspector->getExceptionName();

        $this->render("<bg=red;options=bold> $class </> : <comment>$message</>");

        return $this;
    }
protected function renderTitle(Inspector $inspector): WriterContract
    {
        $exception = $inspector->getException();
        $message = $exception->getMessage();
        $class = $inspector->getExceptionName();

        $this->render("<bg=red;options=bold> $class </> : <comment>$message</>");

        return $this;
    }
protected function renderTitle ( Inspector $ inspector ) : WriterContract { $ exception = $ inspector -> getException ( ) ; $ message = $ exception -> getMessage ( ) ; $ class = $ inspector -> getExceptionName ( ) ; $ this -> render ( "<bg=red;options=bold> $class </> : <comment>$message</>" ) ; return $ this ; }
Renders the title of the exception.

@param \Whoops\Exception\Inspector $inspector

@return \NunoMaduro\Collision\Contracts\Writer
Renders the title of the exception .