mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 10:15:24 +00:00
762d71c51d
Some cleanup is left for later to keep the diff easier to read. Change-Id: Ife445b5e47e707ab77ec867ac3b005866aa74ef2
18 lines
320 B
PHP
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" );
|
|
}
|
|
}
|