dbus: Add NotRecognized error

This commit is contained in:
Denis Kenzior 2012-06-18 09:21:32 -05:00
parent 333bb8b1d3
commit d18414b918
2 changed files with 7 additions and 0 deletions

View File

@ -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)
{

View File

@ -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);