Debian Codegraph @

vendor/wikimedia/request-timeout/src/RequestTimeoutException.php

raw
1 <?php
2
3 namespace Wikimedia\RequestTimeout;
4
5 /**
6 * An exception which is thrown when the request timeout expires.
7 */
8 class RequestTimeoutException extends TimeoutException {
9 /**
10 * @param float $limit The limit (in seconds) which has expired
11 */
12 public function __construct( $limit ) {
13 parent::__construct( "The maximum execution time of {limit} seconds was exceeded",
14 $limit );
15 }
16 }