Class: Cancellation
coresdk.activity_result.Cancellation
Used to report cancellation from both Core and Lang. When Lang reports a cancelled activity, it must put a CancelledFailure in the failure field. When Core reports a cancelled activity, it must put an ActivityFailure with CancelledFailure as the cause in the failure field.