summaryrefslogtreecommitdiff
blob: 500e6992d8adc52ef21c1da86976c88500ea440a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php

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

}