This repository has been archived on 2025-01-19. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
drupalcampbristol/web/vendor/jcalderonzumba/gastonjs/src/Exception/DeadClient.php
2017-02-13 15:31:17 +00:00

21 lines
515 B
PHP

<?php
namespace Zumba\GastonJS\Exception;
/**
* Class DeadClient
* @package Zumba\GastonJS\Exception
*/
class DeadClient extends \Exception {
/**
* @param string $message
* @param int $code
* @param \Exception $previous
*/
public function __construct($message = "", $code = 0, \Exception $previous = null) {
$errorMsg = $message."\nPhantomjs browser server is not taking connections, most probably it has crashed\n";
parent::__construct($errorMsg, $code, $previous);
}
}