mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-30 18:45:07 +00:00
8aa42e0946
Change-Id: I71a995adb8000ec32de3d99c7bf33bf0fa7d0176
17 lines
384 B
PHP
17 lines
384 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\Notifications\Exception;
|
|
|
|
use MWException;
|
|
|
|
class CatchableFatalErrorException extends MWException {
|
|
|
|
public function __construct( $errno, $errstr, $errfile, $errline ) {
|
|
parent::__construct( "Catchable fatal error: $errstr", $errno );
|
|
// inherited protected variables from Exception
|
|
$this->file = $errfile;
|
|
$this->line = $errline;
|
|
}
|
|
|
|
}
|