mediawiki-extensions-AbuseF.../includes/Consequences/ConsequenceNotPrecheckedException.php
Daimona Eaytoy b394956c22 Create a dedicated namespace for all consequences-related classes
Change-Id: Ibc39593e34da36e57b640af0b5bbf2145f725e92
2020-12-18 19:27:33 +00:00

15 lines
344 B
PHP

<?php
namespace MediaWiki\Extension\AbuseFilter\Consequences;
use RuntimeException;
class ConsequenceNotPrecheckedException extends RuntimeException {
public function __construct() {
parent::__construct(
'Consequences that can disable other consequences should ' .
'use shouldDisableOtherConsequences() before execute()'
);
}
}