Gio.SimpleAsyncResult.prototype.propagate_error

function propagate_error(): Boolean {
    // Gjs wrapper for g_simple_async_result_propagate_error()
}
  

Propagates an error from within the simple asynchronous result to a given destination.

If the Gio.Cancellable given to a prior call to Gio.SimpleAsyncResult.prototype.set_check_cancellable is cancelled then this function will return true with @dest set appropriately.

Returns

true if the error was propagated to @dest. false otherwise.