Class PathMismatchError

Indicates that the referenced path made incorrect assumptions about the structure of a document, for instance attempting to access a field as an object when in fact it is an array.




cause: undefined | Error

Specifies the underlying cause of this error, if one is available.

Specifies additional contextual information which is available for this error. Depending on the service that generated it.

message: string
name: string
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number


  • Create .stack property on a target object


    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc