MediaWiki REL1_39
MediaWiki\Page\PageAssertionException Class Reference

Exception if a PageIdentity is an invalid argument. More...

Inheritance diagram for MediaWiki\Page\PageAssertionException:
Collaboration diagram for MediaWiki\Page\PageAssertionException:

Public Member Functions

 __construct (string $normalizedMessage='', array $messageContext=[], int $code=0, Throwable $previous=null)

Detailed Description

Exception if a PageIdentity is an invalid argument.

Stability: newable

Definition at line 34 of file PageAssertionException.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Page\PageAssertionException::__construct ( string $normalizedMessage = '',
array $messageContext = [],
int $code = 0,
Throwable $previous = null )
Stability: stable
to call
string$normalizedMessageThe exception message, with PSR-3 style placeholders.
array$messageContextMessage context, with values for the placeholders.
int$codeThe exception code.
Throwable | null$previousThe previous throwable used for the exception chaining.

Definition at line 45 of file PageAssertionException.php.

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