MediaWiki
REL1_41
FatalError.php
Go to the documentation of this file.
1
<?php
37
class
FatalError
extends
MWException
{
38
45
public
function
getHTML
() {
46
return
$this->getMessage();
47
}
48
52
public
function
getText
() {
53
return
$this->getMessage();
54
}
55
}
FatalError
Abort the web request with a custom HTML string that will represent the entire response.
Definition
FatalError.php:37
FatalError\getHTML
getHTML()
Replace our usual detailed HTML response for uncaught exceptions, with just the bare message as HTML.
Definition
FatalError.php:45
FatalError\getText
getText()
Definition
FatalError.php:52
MWException
MediaWiki exception.
Definition
MWException.php:33
includes
exception
FatalError.php
Generated on Sat Nov 23 2024 08:23:13 for MediaWiki by
1.10.0