Page MenuHomeWickedGov Phorge

MaintenanceFatalError.php
No OneTemporary

Size
514 B
Referenced Files
None
Subscribers
None

MaintenanceFatalError.php

<?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

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)

Event Timeline