MediaWiki master
|
Exception thrown by Maintenance::fatalError if called during PHPUnit tests. More...
Inherits Exception.
Public Member Functions | |
__construct ( $code) | |
Exception thrown by Maintenance::fatalError if called during PHPUnit tests.
This is done because calling exit() would cause the test suite to stop early.
Definition at line 13 of file MaintenanceFatalError.php.
MediaWiki\Maintenance\MaintenanceFatalError::__construct | ( | $code | ) |
int | $code | The error code that would have been passed to exit() if the method was not called during a PHPUnit test. |
Definition at line 18 of file MaintenanceFatalError.php.