src/Gelembjuk/Logger/ErrorScreen.php
public function getHTMLError($exception) {
		$html = '<div style="position: absolute; top:0; right:0; width:100%; height:100%; background: #ffffff;">'."\n".
			'<table align="center" style="width:65%; margin-top: 30px; background: #FFCC66;" cellpadding="10" cellspacing="1" border="0">'."\n".
			'<tr>'."\n".
				'<td style="background: #FFCC99;">Unexpected error!</td>'."\n".
			'</tr>'."\n".
			'<tr>'."\n".
				'<td style="padding-top: 15px; padding-bottom: 35px; background: #FFFF99;">'."\n".
					$this->getMessageForUser($exception).'.<br><br>'."\n".
					'We are notified and will solve the problem as soon as possible.<br>'."\n".
				'</td>'."\n".
			'</tr>'."\n";
		
		if ($this->showtrace) {
			$html .= '<tr>'."\n".
					'<td style="padding-top: 15px; padding-bottom: 35px; background: #FFFF99; white-space: pre ;">'."\n".
						$exception->getTraceAsString()."\n".
					'</td>'."\n".
				'</tr>'."\n";
		}

		$html .= '</table>'."\n".
			'</div>';
		return $html;
	}
public function getHTMLError($exception) {
		$html = '<div style="position: absolute; top:0; right:0; width:100%; height:100%; background: #ffffff;">'."\n".
			'<table align="center" style="width:65%; margin-top: 30px; background: #FFCC66;" cellpadding="10" cellspacing="1" border="0">'."\n".
			'<tr>'."\n".
				'<td style="background: #FFCC99;">Unexpected error!</td>'."\n".
			'</tr>'."\n".
			'<tr>'."\n".
				'<td style="padding-top: 15px; padding-bottom: 35px; background: #FFFF99;">'."\n".
					$this->getMessageForUser($exception).'.<br><br>'."\n".
					'We are notified and will solve the problem as soon as possible.<br>'."\n".
				'</td>'."\n".
			'</tr>'."\n";
		
		if ($this->showtrace) {
			$html .= '<tr>'."\n".
					'<td style="padding-top: 15px; padding-bottom: 35px; background: #FFFF99; white-space: pre ;">'."\n".
						$exception->getTraceAsString()."\n".
					'</td>'."\n".
				'</tr>'."\n";
		}

		$html .= '</table>'."\n".
			'</div>';
		return $html;
	}
public function getHTMLError ( $ exception ) { $ html = '<div style="position: absolute; top:0; right:0; width:100%; height:100%; background: #ffffff;">' . "\n" . '<table align="center" style="width:65%; margin-top: 30px; background: #FFCC66;" cellpadding="10" cellspacing="1" border="0">' . "\n" . '<tr>' . "\n" . '<td style="background: #FFCC99;">Unexpected error!</td>' . "\n" . '</tr>' . "\n" . '<tr>' . "\n" . '<td style="padding-top: 15px; padding-bottom: 35px; background: #FFFF99;">' . "\n" . $ this -> getMessageForUser ( $ exception ) . '.<br><br>' . "\n" . 'We are notified and will solve the problem as soon as possible.<br>' . "\n" . '</td>' . "\n" . '</tr>' . "\n" ; if ( $ this -> showtrace ) { $ html .= '<tr>' . "\n" . '<td style="padding-top: 15px; padding-bottom: 35px; background: #FFFF99; white-space: pre ;">' . "\n" . $ exception -> getTraceAsString ( ) . "\n" . '</td>' . "\n" . '</tr>' . "\n" ; } $ html .= '</table>' . "\n" . '</div>' ; return $ html ; }
Build HTML to display error

@param Exception $exception Exception to show message from

@return string HTML of the error screen
Build HTML to display error