summaryrefslogtreecommitdiff
path: root/src/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/error.c b/src/error.c
index 1a396abb..38e90d98 100644
--- a/src/error.c
+++ b/src/error.c
@@ -75,6 +75,13 @@ DBusMessage *__connman_error_in_progress(DBusMessage *msg)
}
+DBusMessage *__connman_error_already_connected(DBusMessage *msg)
+{
+ return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE
+ ".AlreadyConnected", NULL);
+
+}
+
DBusMessage *__connman_error_operation_aborted(DBusMessage *msg)
{
return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE