/// <summary> /// Handler an error when a TTS request failed. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="GenericEventArgs{Exception}"/> instance containing the event data.</param> private static void ErrorHandler(object sender, GenericEventArgs <Exception> e) { log.Error(string.Format("ErrorHandler [{0}]", e.ToString())); }
private static void ErrorHandler(object sender, GenericEventArgs <Exception> e) { Console.WriteLine("Unable to complete the TTS request: [{0}]", e.ToString()); }
private static void OnAzureVoiceErrorHandler(object sender, GenericEventArgs <Exception> e) { Logger.Log("Unable to complete the TTS request: " + e.ToString()); }
/// <summary> /// Handler an error when a TTS request failed. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="GenericEventArgs{Exception}"/> instance containing the event data.</param> private static void ErrorHandler(object sender, GenericEventArgs <Exception> e) { Debug.WriteLine("Unable to complete the TTS request: [{0}]", e.ToString()); Assert.Fail("Failed to connect to server"); }
/// <summary> /// Handler an error when a TTS request failed. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="GenericEventArgs{Exception}"/> instance containing the event data.</param> private static void ErrorHandler(object sender, GenericEventArgs <Exception> e) { Debug.Log("Unable to complete the TTS request: [{0}]" + e.ToString()); }