for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of JSON RPC Client.
*
* (c) Igor Lazarev <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Strider2038\JsonRpcClient\Exception;
/**
* @author Igor Lazarev <[email protected]>
class ConnectionFailedException extends JsonRpcClientException
{
public function __construct(string $url, string $reason)
parent::__construct(
sprintf('Unable to establish a connection "%s" because of error %s.', $url, $reason)
);
}