Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
UnsetVariableException
n/a
0 / 0
n/a
0 / 0
1
n/a
0 / 0
 __construct
n/a
0 / 0
n/a
0 / 0
1
1<?php
2
3namespace MediaWiki\Extension\AbuseFilter\Variables;
4
5use RuntimeException;
6
7/**
8 * @codeCoverageIgnore
9 */
10class UnsetVariableException extends RuntimeException {
11    /**
12     * @param string $varName
13     */
14    public function __construct( string $varName ) {
15        parent::__construct( "Variable $varName is not set" );
16    }
17}