protected static function isFatal( $error ) {

		if( $error instanceof \Exception )
			return false;

		$fatal = E_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR;

		if( $error instanceof \ErrorException )
			$error = $error->getSeverity();

		return (bool) ($error & $fatal);

	}