DBusMethodInvocation.returnDbusError

Finishes handling a D-Bus method call by returning an error. This method will free invocation, you cannot use it afterwards. Since 2.26

class DBusMethodInvocation
void
returnDbusError
(
string errorName
,)

Parameters

errorName string

A valid D-Bus error name.

errorMessage string

A valid D-Bus error message.

Meta