mediawiki-extensions-AbuseF.../includes/Variables/UnsetVariableException.php
Daimona Eaytoy 762d71c51d Create a dedicated namespace for variables-related classes
Some cleanup is left for later to keep the diff easier to read.

Change-Id: Ife445b5e47e707ab77ec867ac3b005866aa74ef2
2021-01-02 18:16:48 +01:00

18 lines
320 B
PHP

<?php
namespace MediaWiki\Extension\AbuseFilter\Variables;
use RuntimeException;
/**
* @codeCoverageIgnore
*/
class UnsetVariableException extends RuntimeException {
/**
* @param string $varName
*/
public function __construct( string $varName ) {
parent::__construct( "Variable $varName is not set" );
}
}