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

13 lines
275 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 ?: "Operation timed out");
}
}