DBusMethodInvocation.returnDbusError

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

This method will free @invocation, you cannot use it afterwards.

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