• Type guard that returns true if the error is a CancelledFailure, indicating the workflow was cancelled via handle.cancel().

    Use this inside catch blocks to distinguish cancellation from application errors. Always check with didInterrupt first for engine control-flow signals, then check isCancellation for cooperative cancellation.

    Parameters

    • err: any

      The error to check.

    Returns err is CancelledFailure

    true if the error is a CancelledFailure.