asrp_set_error()

Set error information.

Synopsis:

#include <asr/asrp.h>
 
void asrp_set_error(asrp_module_hdl_t *mod, tts_error_class_t error_class, int error, const char *description)

Arguments:

mod

The prompt module handle.

error_class

The class of the error that was encountered.

error

An error code. See /usr/include/errno.h.

description

A description of the error.

Library:

libasr

Description:

The asrp_set_error() function writes error information to the log.

Returns:

Nothing.