DBusMethodInvocation.returnDbusError
void returnDbusError(string errorName, string errorMessage)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.
Parameters
errorName | A valid D-Bus error name. |
errorMessage | A valid D-Bus error message. |