Class in Errors · JavaScript & TypeScript
A default API operation was cancelled through its signal
The SDK returns this expected failure after required cleanup, not as proof that remote work was undone. Cancellation combined with an unexpected cleanup failure rejects with Sdk instead
class CancelledError extends FluxerlyErrorclass CancelledError
extends FluxerlyErrorConstructor#
new CancelledError(operation?: Operation): CancelledErrornew CancelledError(
operation?: Operation
): CancelledErrorParameters
operationoptional-
The cancelled default API call, recorded as
detailsand named in the message.operation Defaults to undefined
Operation
Properties#
_tag#
Error tag for identifying cancellation in the default API
readonly _tag: "CancelledError"Inherited#
Inherited from Fluxerly: code, details, hint, to