mediawiki-extensions-AbuseF.../includes/Consequences/ConsequenceNotPrecheckedException.php

15 lines
344 B
PHP
Raw Normal View History

<?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()'
);
}
}