mirror of git://git.sysmocom.de/ofono
dbus: Add NotRecognized error
This commit is contained in:
parent
333bb8b1d3
commit
d18414b918
|
@ -403,6 +403,12 @@ DBusMessage *__ofono_error_not_allowed(DBusMessage *msg)
|
|||
"Operation is not allowed");
|
||||
}
|
||||
|
||||
DBusMessage *__ofono_error_not_recognized(DBusMessage *msg)
|
||||
{
|
||||
return g_dbus_create_error(msg, OFONO_ERROR_INTERFACE ".NotRecognized",
|
||||
"String not recognized as USSD/SS");
|
||||
}
|
||||
|
||||
DBusMessage *__ofono_error_from_error(const struct ofono_error *error,
|
||||
DBusMessage *msg)
|
||||
{
|
||||
|
|
|
@ -65,6 +65,7 @@ DBusMessage *__ofono_error_access_denied(DBusMessage *msg);
|
|||
DBusMessage *__ofono_error_emergency_active(DBusMessage *msg);
|
||||
DBusMessage *__ofono_error_incorrect_password(DBusMessage *msg);
|
||||
DBusMessage *__ofono_error_not_allowed(DBusMessage *msg);
|
||||
DBusMessage *__ofono_error_not_recognized(DBusMessage *msg);
|
||||
|
||||
DBusMessage *__ofono_error_from_error(const struct ofono_error *error,
|
||||
DBusMessage *msg);
|
||||
|
|
Loading…
Reference in New Issue