Options
All
  • Public
  • Public/Protected
  • All
Menu

An error that raises when the current promise has been rejected due to cancellation.

remarks

ES6 Promise does not have cancellation support, so TPL uses reject with PromiseCancelledError to indicate a cancelled Promise.

Hierarchy

  • Error
    • PromiseCancelledError

Index

Constructors

Properties

Constructors

constructor

Properties

message

message: string

name

name: string = "PromiseCancelledError"

Optional stack

stack: undefined | string

Static Error

Error: ErrorConstructor

Generated using TypeDoc