summaryrefslogtreecommitdiff
path: root/src/error.c
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-12-13 19:32:58 -0200
committerJohan Hedberg <johan.hedberg@nokia.com>2010-12-14 10:31:09 +0200
commit72417be35e49a1f05322c8c9f57e8897fe0c3863 (patch)
treee1bd7ad8106a7f0c0a5c61313edd479991be7d61 /src/error.c
parent941bc860084eb9e8cab8a88ff8ab4c74d490eb8c (diff)
downloadbluez-72417be35e49a1f05322c8c9f57e8897fe0c3863.tar.gz
Add btd_error_no_such_adapter()
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 e1f0598a5..013de96f8 100644
--- a/src/error.c
+++ b/src/error.c
@@ -108,3 +108,9 @@ DBusMessage *btd_error_not_authorized(DBusMessage *msg)
return g_dbus_create_error(msg, ERROR_INTERFACE ".NotAuthorized",
"Operation Not Authorized");
}
+
+DBusMessage *btd_error_no_such_adapter(DBusMessage *msg)
+{
+ return g_dbus_create_error(msg, ERROR_INTERFACE ".NoSuchAdapter",
+ "No such adapter");
+}