Class: JSONPointerKeyError
Defined in: src/pointer/errors.ts:37
Error thrown due to a missing property when resolving a JSON Pointer.
Extends
Constructors
new JSONPointerKeyError()
new JSONPointerKeyError(
message):JSONPointerKeyError
Defined in: src/pointer/errors.ts:38
Parameters
message
string
Returns
Overrides
JSONPointerResolutionError.constructor
Properties
cause?
optionalcause:unknown
Defined in: docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from
JSONPointerResolutionError.cause
message
readonlymessage:string
Defined in: src/pointer/errors.ts:38
Inherited from
JSONPointerResolutionError.message
name
name:
string
Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
JSONPointerResolutionError.name
stack?
optionalstack:string
Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
JSONPointerResolutionError.stack
prepareStackTrace()?
staticoptionalprepareStackTrace: (err,stackTraces) =>any
Defined in: node_modules/@types/node/globals.d.ts:143
Optional override for formatting stack traces
Parameters
err
Error
stackTraces
CallSite[]
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from
JSONPointerResolutionError.prepareStackTrace
stackTraceLimit
staticstackTraceLimit:number
Defined in: node_modules/@types/node/globals.d.ts:145
Inherited from
JSONPointerResolutionError.stackTraceLimit
Methods
captureStackTrace()
staticcaptureStackTrace(targetObject,constructorOpt?):void
Defined in: node_modules/@types/node/globals.d.ts:136
Create .stack property on a target object
Parameters
targetObject
object
constructorOpt?
Function
Returns
void