JSONPath Tools / @jsonpath-tools/jsonpath / JSONPathError
Class: JSONPathError
Error meaning that a JSONPath query is not well-formed or valid.
Extends
Error
Constructors
Constructor
ts
new JSONPathError(diagnostics): JSONPathError;Parameters
diagnostics
readonly Diagnostics[]
Diagnostics that caused the error.
Returns
JSONPathError
Overrides
ts
Error.constructorProperties
cause?
ts
optional cause?: unknown;Inherited from
ts
Error.causediagnostics
ts
readonly diagnostics: readonly Diagnostics[];Diagnostics that caused the error.
message
ts
message: string;Inherited from
ts
Error.messagename
ts
name: string;Inherited from
ts
Error.namestack?
ts
optional stack?: string;Inherited from
ts
Error.stackMethods
isError()
ts
static isError(error): error is Error;Indicates whether the argument provided is a built-in Error instance or not.
Parameters
error
unknown
Returns
error is Error
Inherited from
ts
Error.isError