1
0
mirror of https://github.com/danog/amp.git synced 2024-11-27 04:24:42 +01:00
amp/lib/TimeoutException.php

15 lines
285 B
PHP
Raw Normal View History

2016-05-21 16:44:52 +02:00
<?php
2016-08-16 06:46:26 +02:00
declare(strict_types=1);
2016-05-24 17:39:19 +02:00
namespace Amp;
2016-05-21 16:44:52 +02:00
2016-08-11 21:35:58 +02:00
class TimeoutException extends \Exception {
/**
* @param string|null $message
*/
2016-08-11 21:35:58 +02:00
public function __construct(string $message = null) {
parent::__construct($message ?: "Awaitable resolution timed out");
}
}