3 namespace Zumba\GastonJS\Exception;
7 * @package Zumba\GastonJS\Exception
9 class TimeoutError extends \Exception {
12 * @param string $message
14 public function __construct($message) {
15 $errorMessage = "Timed out waiting for response to {$message}. It's possible that this happened
16 because something took a very long time(for example a page load was slow).
17 If so, setting the Poltergeist :timeout option to a higher value will help
18 (see the docs for details). If increasing the timeout does not help, this is
19 probably a bug in Poltergeist - please report it to the issue tracker.";
20 parent::__construct($errorMessage);