Documentation

DurabilityAmbiguousException extends CouchbaseException
in package

The synchronous replication durability work can return an ambiguous error (or we timeout waiting for the response, which is effectively the same). Here we know the change is on a majority of replicas, or it's on none.

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 $previous = null ][, array<string|int, mixed> $context = null ]) : mixed
Parameters
$message : mixed = ""
$code : mixed
$previous : Throwable = null
$context : array<string|int, mixed> = 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