Thanks to visit codestin.com
Credit goes to docs.couchbase.com

couchbase
    Preparing search index...

    Class DocumentExistsError

    Indicates that the referenced document exists already, but the operation was not expecting it to exist.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    cause: undefined | Error

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

    context:
        | undefined
        | KeyValueErrorContext
        | ViewErrorContext
        | QueryErrorContext
        | SearchErrorContext
        | AnalyticsErrorContext
        | HttpErrorContext

    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

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void