RequestTimeout
Request timeout library for Excimer with plain PHP fallback
Loading...
Searching...
No Matches
Wikimedia\RequestTimeout\EmergencyTimeoutException Class Reference

An exception which is thrown if a critical section is open for too long. More...

+ Inheritance diagram for Wikimedia\RequestTimeout\EmergencyTimeoutException:
+ Collaboration diagram for Wikimedia\RequestTimeout\EmergencyTimeoutException:

Public Member Functions

 __construct ( $name, $limit)
 
- Public Member Functions inherited from Wikimedia\RequestTimeout\TimeoutException
 getLimit ()
 Get the limit which was exceeded, in seconds.
 

Detailed Description

An exception which is thrown if a critical section is open for too long.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\RequestTimeout\EmergencyTimeoutException::__construct ( $name,
$limit )
Parameters
string$nameThe name of the critical section
float$limitThe limit (in seconds) which has expired

Reimplemented from Wikimedia\RequestTimeout\TimeoutException.


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