Options
All
  • Public
  • Public/Protected
  • All
Menu

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

  • Error
    • CancellationError

Index

Constructors

Properties

Constructors

constructor

Properties

name

name: string

message

message: string

Optional stack

stack: string

Generated using TypeDoc