You are here

public function TimeoutError::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/jcalderonzumba/gastonjs/src/Exception/TimeoutError.php \Zumba\GastonJS\Exception\TimeoutError::__construct()

Parameters

string $message:

File

vendor/jcalderonzumba/gastonjs/src/Exception/TimeoutError.php, line 14

Class

TimeoutError
Class TimeoutError @package Zumba\GastonJS\Exception

Namespace

Zumba\GastonJS\Exception

Code

public function __construct($message) {
  $errorMessage = "Timed out waiting for response to {$message}. It's possible that this happened\n            because something took a very long time(for example a page load was slow).\n            If so, setting the Poltergeist :timeout option to a higher value will help\n            (see the docs for details). If increasing the timeout does not help, this is\n            probably a bug in Poltergeist - please report it to the issue tracker.";
  parent::__construct($errorMessage);
}