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