CancelledError

CancelledError

An error type which is used when a promise is cancelled.


Constructor

# new CancelledError(message)

Constructs a new instance.

Parameters:
Name Type Description
message string

The error message