int stt_engine_send_error(stte_error_e error, const char* msg)
{
- if (NULL == msg) {
- SLOG(LOG_ERROR, stt_tag(), "[Engine ERROR] Invalid parameter");
- }
-
int ret = STTE_ERROR_NONE;
ret = sttd_engine_agent_send_error(error, msg);
if (0 != ret) {
int sttdc_send_error_signal(int uid, int reason, const char *err_msg)
{
- if (NULL == err_msg) {
- SLOG(LOG_ERROR, TAG_STTD, "[Dbus ERROR] Input parameter is NULL");
- return STTD_ERROR_INVALID_PARAMETER;
- }
-
int pid = sttd_client_get_pid(uid);
if (0 > pid) {
SLOG(LOG_ERROR, TAG_STTD, "[Dbus ERROR] pid is NOT valid");
int stte_send_error(stte_error_e error, const char* msg)
{
- if (NULL == msg) {
- SLOG(LOG_ERROR, TAG_STTD, "[Server ERROR] Invalid parameter");
- }
-
int ret = STTE_ERROR_NONE;
ret = stt_engine_send_error(error, msg);
if (0 != ret) {