Documentation

ValueInvalidException extends CouchbaseException
in package

Subdocument exception thrown when the provided value cannot be inserted at the given path.

It is actually thrown when the delta in an counter operation is valid, but applying that delta would result in an out-of-range number (server interprets numbers as 64-bit integers).

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