Core/Framework/Error/ErrorHandler.php
private function createErrorHtml(bool $dismissable = false)
    {
        $html = '
        <div class="alert alert-danger' . ($dismissable == true ? ' alert-dismissible' : '') . '" role="alert" id="core-error-' . $this->throwable->getCode() . '">';

        if ($dismissable) {
            $html .= '<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>';
        }

        switch (true) {
            case $this->public:
                $html .= $this->getHeadline();
                $html .= $this->getMessage();
                $html .= $this->getFileinfo();
                $html .= $this->getTrace();

                break;

            default:
                $html .= '
                <h3 class="no-top-margin">Error</h3>
                <p>Sorry for that! Webmaster has been informed. Please try again later.</p>';
        }

        $html .= '
        </div>';

        return $html;
    }
private function createErrorHtml(bool $dismissable = false)
    {
        $html = '
        <div class="alert alert-danger' . ($dismissable == true ? ' alert-dismissible' : '') . '" role="alert" id="core-error-' . $this->throwable->getCode() . '">';

        if ($dismissable) {
            $html .= '<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>';
        }

        switch (true) {
            case $this->public:
                $html .= $this->getHeadline();
                $html .= $this->getMessage();
                $html .= $this->getFileinfo();
                $html .= $this->getTrace();

                break;

            default:
                $html .= '
                <h3 class="no-top-margin">Error</h3>
                <p>Sorry for that! Webmaster has been informed. Please try again later.</p>';
        }

        $html .= '
        </div>';

        return $html;
    }
private function createErrorHtml ( bool $ dismissable = false ) { $ html = '
        <div class="alert alert-danger' . ( $ dismissable == true ? ' alert-dismissible' : '' ) . '" role="alert" id="core-error-' . $ this -> throwable -> getCode ( ) . '">' ; if ( $ dismissable ) { $ html .= '<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>' ; } switch ( true ) { case $ this -> public : $ html .= $ this -> getHeadline ( ) ; $ html .= $ this -> getMessage ( ) ; $ html .= $ this -> getFileinfo ( ) ; $ html .= $ this -> getTrace ( ) ; break ; default : $ html .= '
                <h3 class="no-top-margin">Error</h3>
                <p>Sorry for that! Webmaster has been informed. Please try again later.</p>' ; } $ html .= '
        </div>' ; return $ html ; }
Creates html error message
Creates html error message