VS Code API
    Preparing search index...

    Class CancellationError

    An error type that should be used to signal cancellation of an operation.

    This type can be used in response to a cancellation token being cancelled or when an operation is being cancelled by the executor of that operation.

    Hierarchy

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    cause?: unknown
    message: string
    name: string
    stack?: string

    Methods

    • Indicates whether the argument provided is a built-in Error instance or not.

      Parameters

      • error: unknown

      Returns error is Error