Documentation

ReplicaIndexCurrentlyUnavailableException extends CouchbaseException
in package

Indicates that Collection::getReplica() was asked for a replica index the bucket has, but that replica cannot be read right now. A rebalance resolves this; @see GetReplicaStrategy::wrap() to read a different replica instead.

Tags
since
4.6.0

Table of Contents

$context  : array<string|int, mixed>|null
__construct()  : mixed
getContext()  : array<string|int, mixed>|null
Returns error details.

Properties

Methods

__construct()

public __construct([mixed $message = "" ], mixed $code[, Throwable|null $previous = null ][, array<string|int, mixed>|null $context = null ]) : mixed
Parameters
$message : mixed = ""
$code : mixed
$previous : Throwable|null = null
$context : array<string|int, mixed>|null = null
Return values
mixed —

getContext()

Returns error details.

public getContext() : array<string|int, mixed>|null
Tags
since
4.0.0
Return values
array<string|int, mixed>|null —

        

Search results