annotate vendor/jcalderonzumba/gastonjs/src/Exception/TimeoutError.php @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 <?php
Chris@0 2
Chris@0 3 namespace Zumba\GastonJS\Exception;
Chris@0 4
Chris@0 5 /**
Chris@0 6 * Class TimeoutError
Chris@0 7 * @package Zumba\GastonJS\Exception
Chris@0 8 */
Chris@0 9 class TimeoutError extends \Exception {
Chris@0 10
Chris@0 11 /**
Chris@0 12 * @param string $message
Chris@0 13 */
Chris@0 14 public function __construct($message) {
Chris@0 15 $errorMessage = "Timed out waiting for response to {$message}. It's possible that this happened
Chris@0 16 because something took a very long time(for example a page load was slow).
Chris@0 17 If so, setting the Poltergeist :timeout option to a higher value will help
Chris@0 18 (see the docs for details). If increasing the timeout does not help, this is
Chris@0 19 probably a bug in Poltergeist - please report it to the issue tracker.";
Chris@0 20 parent::__construct($errorMessage);
Chris@0 21 }
Chris@0 22
Chris@0 23 }