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

13 lines
275 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-12-09 11:54:34 -05:00
parent::__construct($message ?: "Operation timed out");
}
}