cancellable is cancelled, sets the error to notify
that the operation was cancelled.gCancellableSetErrorIfCancelled(object, .errwarn = TRUE)objectGCancellable object.TRUE if cancellable was cancelled, FALSE if it was not.errorGError to append error state to.