projects
/
connman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add helper for invalid service error messages
[connman]
/
src
/
error.c
diff --git
a/src/error.c
b/src/error.c
index
844be33
..
af839a2
100644
(file)
--- a/
src/error.c
+++ b/
src/error.c
@@
-93,3
+93,8
@@
DBusMessage *__connman_error_operation_timeout(DBusMessage *msg)
"OperationTimeout", "Operation timeout");
}
+DBusMessage *__connman_error_invalid_service(DBusMessage *msg)
+{
+ return g_dbus_create_error(msg, CONNMAN_ERROR_INTERFACE
+ "InvalidService", "Invalid service");
+}