Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
AggregateGroupAssociationFailure.php
1<?php
2declare( strict_types = 1 );
3
4namespace MediaWiki\Extension\Translate\MessageGroupProcessing;
5
6use LocalizedException;
7use MediaWiki\Message\Message;
8
15class AggregateGroupAssociationFailure extends LocalizedException {
16 public function __construct( array $groupIds ) {
17 parent::__construct(
18 [
19 'translate-error-association-failure',
20 Message::listParam( $groupIds ),
21 count( $groupIds )
22 ]
23 );
24 }
25}
Exception thrown when a message group could not be associated to an aggregate group.