Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4128897
MaintenanceFatalError.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
514 B
Referenced Files
None
Subscribers
None
MaintenanceFatalError.php
View Options
<?php
namespace
MediaWiki\Maintenance
;
use
Exception
;
/**
* Exception thrown by Maintenance::fatalError if called during PHPUnit tests. This is done because
* calling exit() would cause the test suite to stop early.
*
* @since 1.43
*/
class
MaintenanceFatalError
extends
Exception
{
/**
* @param int $code The error code that would have been passed to exit() if the method was not
* called during a PHPUnit test.
*/
public
function
__construct
(
$code
)
{
parent
::
__construct
(
""
,
$code
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 09:30 (2 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fe/b8/afe13e61d3ae3415663d66fc3b53
Default Alt Text
MaintenanceFatalError.php (514 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment