Creates a #GSimpleAsyncResult from an error condition.
a #GObject, or null.
a #GAsyncReadyCallback.
a #GError
a #GSimpleAsyncResult.
Deprecated: Use gio.task.Task.new_ and gio.task.Task.returnError instead.
Creates a #GSimpleAsyncResult from an error condition.