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

Exception thrown for invalid titles. More...

+ Inheritance diagram for Wikimedia\Parsoid\Utils\TitleException:
+ Collaboration diagram for Wikimedia\Parsoid\Utils\TitleException:

Public Member Functions

 __construct (string $message, string $type, string $title)
 

Public Attributes

 $type
 
 $title
 

Detailed Description

Exception thrown for invalid titles.

Note
Replaces JS TitleError, because that implies it extends Error rather than Exception

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Parsoid\Utils\TitleException::__construct ( string $message,
string $type,
string $title )
Parameters
string$message
string$type
string$title

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