public __construct ( Predis\Connection\NodeConnectionInterface $connection, string $message = null, integer $code = null, Exception $innerException = null ) | ||
$connection | Predis\Connection\NodeConnectionInterface | Connection that generated the exception. |
$message | string | Error message. |
$code | integer | Error code. |
$innerException | Exception | Inner exception for wrapping the original error. |