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
$context
private
array<string|int, mixed>|null
$context
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