summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/dbus-error.c')
-rw-r--r--hcid/dbus-error.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/hcid/dbus-error.c b/hcid/dbus-error.c
index 6897417c..becbda67 100644
--- a/hcid/dbus-error.c
+++ b/hcid/dbus-error.c
@@ -99,6 +99,13 @@ DBusHandlerResult error_no_such_adapter(DBusConnection *conn, DBusMessage *msg)
"No such adapter"));
}
+DBusHandlerResult error_no_such_service(DBusConnection *conn, DBusMessage *msg)
+{
+ return send_message_and_unref(conn,
+ dbus_message_new_error(msg, ERROR_INTERFACE ".NoSuchService",
+ "No such service"));
+}
+
DBusHandlerResult error_not_available(DBusConnection *conn, DBusMessage *msg)
{
return send_message_and_unref(conn,