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

The base class for timeout exceptions thrown by this library. More...

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

Public Member Functions

 __construct ( $message, $limit)
 
 getLimit ()
 Get the limit which was exceeded, in seconds.
 

Detailed Description

The base class for timeout exceptions thrown by this library.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\RequestTimeout\TimeoutException::__construct ( $message,
$limit )

Member Function Documentation

◆ getLimit()

Wikimedia\RequestTimeout\TimeoutException::getLimit ( )

Get the limit which was exceeded, in seconds.

Returns
float

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