summaryrefslogtreecommitdiff
path: root/src/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/error.c b/src/error.c
index 1668a41d..f8f6fdc1 100644
--- a/src/error.c
+++ b/src/error.c
@@ -56,3 +56,9 @@ DBusMessage *__connman_error_not_implemented(DBusMessage *msg)
return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE
".NotImplemented", NULL);
}
+
+DBusMessage *__connman_error_no_carrier(DBusMessage *msg)
+{
+ return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE
+ ".NoCarrier", NULL);
+}