| 1 | <?php |
| 2 | |
| 3 | namespace MediaWiki\Extension\AbuseFilter\Consequences; |
| 4 | |
| 5 | use RuntimeException; |
| 6 | |
| 7 | /** |
| 8 | * @codeCoverageIgnore |
| 9 | */ |
| 10 | class ConsequenceNotPrecheckedException extends RuntimeException { |
| 11 | public function __construct() { |
| 12 | parent::__construct( |
| 13 | 'Consequences that can disable other consequences should ' . |
| 14 | 'use shouldDisableOtherConsequences() before execute()' |
| 15 | ); |
| 16 | } |
| 17 | } |