This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/vendor/jcalderonzumba/gastonjs/src/Exception/DeadClient.php

22 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);
}
}