BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
ErrorPageError Class Reference
Inheritance diagram for ErrorPageError:
Collaboration diagram for ErrorPageError:

Public Member Functions

 __construct ($title, $msg, $params=[])
 
 getMessageObject ()
 
 report ()
 
- Public Member Functions inherited from MWException
 useOutputPage ()
 
 isLoggable ()
 
 useMessageCache ()
 
 msg ($key, $fallback)
 
 getHTML ()
 
 getText ()
 
 getPageTitle ()
 
 reportHTML ()
 
 report ()
 
- Public Member Functions inherited from Exception
 __construct ($message="", $code=0, Throwable $previous=null)
 
 getMessage ()
 
 getCode ()
 
 getFile ()
 
 getLine ()
 
 getTrace ()
 
 getPrevious ()
 
 getTraceAsString ()
 
 __toString ()
 

Public Attributes

 $title
 
 $msg
 
 $params
 

Additional Inherited Members

- Static Public Member Functions inherited from MWException
static isCommandLine ()
 
- Protected Attributes inherited from Exception
 $message
 
 $code
 
 $file
 
 $line
 

Detailed Description

An error page which can definitely be safely rendered using the OutputPage.

Since
1.7

Constructor & Destructor Documentation

ErrorPageError::__construct (   $title,
  $msg,
  $params = [] 
)

Note: these arguments are keys into wfMessage(), not text!

Parameters
string | Message$titleMessage key (string) for page title, or a Message object
string | Message$msgMessage key (string) for error text, or a Message object
array$paramsArray with parameters to wfMessage()

Member Function Documentation

ErrorPageError::getMessageObject ( )

Return a Message object for this exception

Since
1.29
Returns
Message

Implements ILocalizedException.


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