mediawiki-extensions-Echo/includes/Exception/CatchableFatalErrorException.php
Reedy 8aa42e0946 Namespace Exception
Change-Id: I71a995adb8000ec32de3d99c7bf33bf0fa7d0176
2022-11-02 14:03:10 -06:00

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;
}
}