Translate extension for MediaWiki
Loading...
Searching...
No Matches
ParsingFailure.php
1
<?php
2
declare( strict_types = 1 );
3
4
namespace
MediaWiki\Extension\Translate\PageTranslation;
5
6
use RuntimeException;
7
18
class
ParsingFailure
extends
RuntimeException {
19
private
$messageSpec;
20
21
public
function
__construct(
string
$message, array $messageSpec ) {
22
parent::__construct( $message );
23
$this->messageSpec = $messageSpec;
24
}
25
26
public
function
getMessageSpecification(): array {
27
return
$this->messageSpec;
28
}
29
}
MediaWiki\Extension\Translate\PageTranslation\ParsingFailure
Represents any kind of failure to parse a translatable page source code.
Definition
ParsingFailure.php:18
src
PageTranslation
ParsingFailure.php
Generated by
1.10.0