@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Class OperationCancelledError

    Signals cooperative cancellation with a machine-readable reason. classifyError treats this type as cancellation rather than an unexpected failure; callers still receive the same rejection and choose how to present it.

    if (context.signal.aborted) {
    throw new OperationCancelledError(CancellationReason.ApplicationStopping);
    }

    Hierarchy

    • Error
      • OperationCancelledError
    Index
    cause?: unknown
    message: string
    name: string

    Why the operation was cancelled.

    stack?: string