<?php namespace React\Promise\Timer; use RuntimeException; class TimeoutException extends RuntimeException { private $timeout; public function __construct($timeout, $message = null, $code = null, $previous = null) { parent::__construct($message, $code, $previous); $this->timeout = $timeout; } public function getTimeout() { return $this->timeout; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
TimeoutException.php | File | 410 B | 0644 |
|
functions.php | File | 2.32 KB | 0644 |
|