1
0
mirror of https://github.com/danog/amp.git synced 2024-11-27 04:24:42 +01:00
amp/lib/TimeoutException.php
Aaron Piotrowski e3cb5dc385 Merge pull request #54 from amphp/ex-msg
Make exception messages more generic
2017-01-15 08:48:56 -06:00

13 lines
248 B
PHP

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