MediaWiki REL1_37
FatalError.php
Go to the documentation of this file.
1<?php
37class FatalError extends MWException {
38
45 public function getHTML() {
46 return $this->getMessage();
47 }
48
52 public function getText() {
53 return $this->getMessage();
54 }
55}
Abort the web request with a custom HTML string that will represent the entire response.
getHTML()
Replace our usual detailed HTML response for uncaught exceptions, with just the bare message as HTML.
MediaWiki exception.