1
0
mirror of https://github.com/danog/amp.git synced 2024-11-27 04:24:42 +01:00
amp/lib/TimeoutException.php
2016-08-15 23:46:26 -05:00

15 lines
285 B
PHP

<?php
declare(strict_types=1);
namespace Amp;
class TimeoutException extends \Exception {
/**
* @param string|null $message
*/
public function __construct(string $message = null) {
parent::__construct($message ?: "Awaitable resolution timed out");
}
}