mediawiki-extensions-AbuseF.../includes/InvalidImportDataException.php
Daimona Eaytoy 210cf29658 Add an interface for exporting/importing filters
The main benefit of having a dedicated interface is that we can easily
change the output format. So we're now using a custom array without
references to the DB schema, thus making the import/export process
completely independent from the schema.

Change-Id: I4c0de41d914baf1e9a0e588bd31f95b3524a424b
2020-11-18 22:06:09 +00:00

15 lines
309 B
PHP

<?php
namespace MediaWiki\Extension\AbuseFilter;
use InvalidArgumentException;
class InvalidImportDataException extends InvalidArgumentException {
/**
* @param string $data That is not valid
*/
public function __construct( string $data ) {
parent::__construct( "Invalid import data: $data" );
}
}