Error class enumeration.
Synopsis:
#include <asr/asrp.h>
enum {
TSS_ERROR_CLASS_NONE
TTS_ERROR_CLASS_MODIFIER
TTS_ERROR_CLASS_URL
TTS_ERRROR_CLASS_RESOURCE
TTS_ERROR_CLASS_SYNTHESIS
TTS_ERROR_CLASS_SYSTEM
} tts_error_class_t;
Data:
- TSS_ERROR_CLASS_NONE
- No error class.
- TTS_ERROR_CLASS_MODIFIER
- Used with the asrp_set_error() function to provide additional information about the error.
- TTS_ERROR_CLASS_URL
- The playback URL could not be resolved.
- TTS_ERRROR_CLASS_RESOURCE
- A required resource was unavailable.
- TTS_ERROR_CLASS_SYNTHESIS
- There was an error during TTS synthesis.
- TTS_ERROR_CLASS_SYSTEM
- There was a system-level error.
Library:
libasr
Description:
The tts_error_class_t enumeration lists the classes of errors that may occur during speech processing. This information can be used to provide information to the user and to populate error logs.