Parsoid
A bidirectional parser between wikitext and HTML5
Loading...
Searching...
No Matches
Wikimedia\Parsoid\Ext\ExtensionError Class Reference

Exception thrown to halt extension tag content parsing and produce standard error output. More...

+ Inheritance diagram for Wikimedia\Parsoid\Ext\ExtensionError:
+ Collaboration diagram for Wikimedia\Parsoid\Ext\ExtensionError:

Public Member Functions

 __construct (string $key='mw-extparse-error',... $params)
 

Public Attributes

 $err
 

Detailed Description

Exception thrown to halt extension tag content parsing and produce standard error output.

$key and $params are basically the arguments to wfMessage, although they will be stored in the data-mw of the encapsulation wrapper.

See https://www.mediawiki.org/wiki/Specs/HTML#Error_handling

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Parsoid\Ext\ExtensionError::__construct ( string  $key = 'mw-extparse-error',
  $params 
)
Parameters
string$key
mixed...$params

The documentation for this class was generated from the following file: