public function RenderError ($exceptionMessage = '') {
		if ($this->application->IsErrorDispatched()) return;
		throw new \ErrorException(
			$exceptionMessage ? $exceptionMessage :
			"Server error: `" . htmlspecialchars($this->request->GetFullUrl()) . "`.",
			500
		);
	}
public function RenderError ($exceptionMessage = '') {
		if ($this->application->IsErrorDispatched()) return;
		throw new \ErrorException(
			$exceptionMessage ? $exceptionMessage :
			"Server error: `" . htmlspecialchars($this->request->GetFullUrl()) . "`.",
			500
		);
	}
public function RenderError ( $ exceptionMessage = '' ) { if ( $ this -> application -> IsErrorDispatched ( ) ) return ; throw new \ ErrorException ( $ exceptionMessage ? $ exceptionMessage : "Server error: `" . htmlspecialchars ( $ this -> request -> GetFullUrl ( ) ) . "`." , 500 ) ; }
Render error controller and error action
for any dispatch exception or error as
rendered html response or as plain text response.
@param string $exceptionMessage
@return void
Render error controller and error action for any dispatch exception or error as rendered html response or as plain text response .