throwError package:gio

If the cancellable is cancelled, throws a GError to notify that the operation was cancelled.