1
0
mirror of https://github.com/danog/amp.git synced 2025-01-22 21:31:18 +01:00
amp/lib/TimeoutException.php

13 lines
284 B
PHP
Raw Normal View History

2016-08-17 22:25:54 -05:00
<?php declare(strict_types = 1);
2016-08-15 23:46:26 -05:00
2016-05-24 10:39:19 -05:00
namespace Amp;
2016-05-21 09:44:52 -05:00
2016-08-11 14:35:58 -05:00
class TimeoutException extends \Exception {
/**
* @param string|null $message
*/
2016-08-11 14:35:58 -05:00
public function __construct(string $message = null) {
2016-11-14 13:59:21 -06:00
parent::__construct($message ?: "Promise resolution timed out");
}
}