PathInvalidException
extends CouchbaseException
in package
Subdocument exception thrown when path has a syntax error, or path syntax is incorrect for the operation (for example, if operation requires an array index).
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