Documentation

PathTooDeepException extends CouchbaseException
in package

Subdocument exception thrown when path is too deep to parse. Depth of a path is determined by how many components (or levels) it contains.

The current limitation is there to ensure a single parse does not consume too much memory (overloading the server). This error is similar to other TooDeep errors, which all relate to various validation stages to ensure the server does not consume too much memory when parsing a single document.

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