pub fn handle_error(
state: SharedMistralRsState,
e: Box<dyn Error + Send + Sync + 'static>,
) -> SpeechGenerationResponder
Expand description
Helper function to handle speech generation errors and logging them.
pub fn handle_error(
state: SharedMistralRsState,
e: Box<dyn Error + Send + Sync + 'static>,
) -> SpeechGenerationResponder
Helper function to handle speech generation errors and logging them.