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 }
FatalError\getText
getText()
Definition: FatalError.php:50
MWException
MediaWiki exception.
Definition: MWException.php:26
FatalError
Abort the web request with a custom HTML string that will represent the entire response.
Definition: FatalError.php:35
FatalError\getHTML
getHTML()
Replace our usual detailed HTML response for uncaught exceptions, with just the bare message as HTML.
Definition: FatalError.php:43