MediaWiki  REL1_24
ThrottledError Class Reference

Show an error when the user hits a rate limit. More...

Inheritance diagram for ThrottledError:
Collaboration diagram for ThrottledError:

List of all members.

Public Member Functions

 __construct ()
 report ()
 Output a report about the exception and takes care of formatting.

Detailed Description

Show an error when the user hits a rate limit.

Since:
1.18

Definition at line 27 of file ThrottledError.php.


Constructor & Destructor Documentation

Definition at line 28 of file ThrottledError.php.


Member Function Documentation

Output a report about the exception and takes care of formatting.

It will be either HTML or plain text based on isCommandLine().

Reimplemented from ErrorPageError.

Definition at line 35 of file ThrottledError.php.

References $wgOut, and global.

Referenced by ThrottledErrorTest\testExceptionSetsStatusCode().


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