MediaWiki  master
Page\PageAssertionException Class Reference

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

Inheritance diagram for Page\PageAssertionException:
Collaboration diagram for 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
Since
1.38

Definition at line 34 of file PageAssertionException.php.

Constructor & Destructor Documentation

◆ __construct()

Page\PageAssertionException::__construct ( string  $normalizedMessage = '',
array  $messageContext = [],
int  $code = 0,
Throwable  $previous = null 
)
Stability: stable
to call
Parameters
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: