Gio.DBusMethodInvocation.prototype.return_gerror
function return_gerror(error: GLib.Error): void {
// Gjs wrapper for g_dbus_method_invocation_return_gerror()
}
Like Gio.DBusMethodInvocation.return_error but takes a GLib.Error instead of the error domain, error code and message.
This method will free invocation, you cannot use it afterwards.
Since 2.26
- error
A GLib.Error.