DBusMethodInvocation.returnDbusError

Finishes handling a D-Bus method call by returning an error.

This method will take ownership of invocation. See GDBusInterfaceVTable for more information about the ownership of invocation.

class DBusMethodInvocation
void
returnDbusError
(
string errorName
,)

Parameters

errorName string

A valid D-Bus error name.

errorMessage string

A valid D-Bus error message.

Meta

Since

2.26