couchbase
    Preparing search index...

    Class GenericErrorContext

    The error context information for an operation sent to a Couchbase cloud native gateway (a couchbase2:// connection), which answers every service with a gRPC status.

    Hierarchy (View Summary)

    Index
    debug_info?: { detail: string; stack_entries: string[] }

    Debugging information the gateway attached to the failure.

    last_dispatched_from: string

    The host and port that the request was last sent from.

    last_dispatched_to: string

    The host and port that the request was last sent to.

    last_error?: string

    The failure that caused the last retry, when the operation was retried.

    message: string

    The gateway's description of the failure.

    precondition_violation?: string

    The failed precondition, such as LOCKED, when the gateway named one.

    reason?: string

    The reason the gateway gave for the failure, such as CAS_MISMATCH, when it named one.

    request_info?: { request_id: string; serving_data: string }

    The gateway's identifier for the request, for correlation with its logs.

    resource_name?: string

    The name of the resource the failure concerns, when the gateway named one.

    resource_type?: string

    The type of the resource the failure concerns, such as document or bucket, when the gateway named one.

    retry_attempts: number

    The number of times the operation has been retried.

    retry_reasons: string[]

    A list of the reasons for retrying the operation.

    status_code: number

    The numeric gRPC status code the operation ended with.