MediaWiki  master
FatalError.php
Go to the documentation of this file.
1 <?php
35 class FatalError extends MWException {
36 
43  public function getHTML() {
44  return $this->getMessage();
45  }
46 
50  public function getText() {
51  return $this->getMessage();
52  }
53 }
getHTML()
Replace our usual detailed HTML response for uncaught exceptions, with just the bare message as HTML...
Definition: FatalError.php:43
Abort the web request with a custom HTML string that will represent the entire response.
Definition: FatalError.php:35