MediaWiki
master
FatalError.php
Go to the documentation of this file.
1
<?php
21
namespace
MediaWiki\Exception
;
22
39
class
FatalError
extends
MWException
{
40
47
public
function
getHTML
() {
48
return
$this->getMessage();
49
}
50
54
public
function
getText
() {
55
return
$this->getMessage();
56
}
57
}
58
60
class_alias( FatalError::class,
'FatalError'
);
MediaWiki\Exception\FatalError
Abort the web request with a custom HTML string that will represent the entire response.
Definition
FatalError.php:39
MediaWiki\Exception\FatalError\getText
getText()
Definition
FatalError.php:54
MediaWiki\Exception\FatalError\getHTML
getHTML()
Replace our usual detailed HTML response for uncaught exceptions, with just the bare message as HTML.
Definition
FatalError.php:47
MediaWiki\Exception\MWException
MediaWiki exception.
Definition
MWException.php:38
MediaWiki\Exception
Definition
BadRequestError.php:21
includes
exception
FatalError.php
Generated on Mon May 12 2025 23:23:53 for MediaWiki by
1.10.0