return_error


Description:

public void return_error (owned Error error)

Rejects this with error.

This function is meant to be used when manually wrapping various [callback@Gio.AsyncReadyCallback] based API.

The ownership of error is taken when calling this function.

Parameters:

this

a [class@Dex.AsyncPair]

error

a [struct@GLib.Error]