void HandleFailCallback(RESTConnector.Error error, Dictionary <string, object> customData) { Debug.LogError(error); succeeded = false; isDone = true; }
private void OnCreateTokenizationDictionaryFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Error("TestDiscovery.OnCreateTokenizationDictionaryFail()", "Error received - Continuing without testing tokenization dictionaries: {0}", error.ToString()); _createTokenizationDictTested = true; _getTokenizationDictStatusTested = true; _deleteTokenizationDictTested = true; }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Debug("ExampleAssistant.OnFail()", "Response: {0}", customData["json"].ToString()); Log.Error("AssistantHandler.OnFail()", "Error received: {0}", error.ToString()); OnAssistantErrorEventArgs args = new OnAssistantErrorEventArgs(); args.Input = lastInput; args.Error = error.ToString(); AssistantFailed(this, args); }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { if (customData["json"] != null) { Log.Debug("ExampleAssistant.OnFail()", "Response: {0}", customData["json"].ToString()); } if (error != null) { Log.Error("TestAssistant.OnFail()", "Error received: {0}", error.ToString()); } }
void HandleFailCallback(RESTConnector.Error error, Dictionary <string, object> customData) { Debug.Log(error); if (error.ErrorCode == 409) { Debug.Log("Retrying in 5 seconds"); retry = true; retryDelay = 5.0f; } succeeded = false; isDone = true; }
void HandleFailCallback(RESTConnector.Error error, Dictionary <string, object> customData) { if (error == null) { // Probably succeeded, but getting wrong code from server. // TODO: Follow up with Watson SDK. succeeded = true; } else { Debug.LogError(error); succeeded = false; } isDone = true; }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { if (saveAnalyzeOn) { // save the result StreamWriter writer = new StreamWriter("Assets\\0_SOUNDDB\\E0\\" + saveNames[saveIndex] + ".txt", false); writer.WriteLine( 0f + " " + 0f + " " + 0f + " " + 0f + " " + 0f + " " + 0f ); writer.Close(); saveIndex++; } else { currentAvatarToEmote.e_angry = 0f; currentAvatarToEmote.e_disgust = 0f; currentAvatarToEmote.e_sad = 0f; currentAvatarToEmote.e_happy = 0f; currentAvatarToEmote.e_fear = 0f; currentAvatarToEmote.e_shock = 0f; } if (saveAnalyzeOn) { if (saveIndex < saveNames.Length) { SaveNextOne(); } } }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Error("TestDoucmentConversion.OnFail()", "Error received: {0}", error.ToString()); }
private void OnGetTokenFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Debug("Credentials.OnGetTokenFail();", "Failed to get IAM Token: {0}", error.ToString()); }
// Generic Failure for Watson Assistant Service private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { print("ERROR " + error.ToString()); Log.Debug("ExampleAssistant.OnFail()", "Response: {0}", error.ToString()); Log.Error("TestAssistant.OnFail()", "Error received: {0}", error.ToString()); }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Debug("ExampleCustomHeader.OnFail()", "Response: {0}", customData["json"].ToString()); Log.Error("ExampleCustomHeader.OnFail()", "Error received: {0}", error.ToString()); }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Error("ExamplePersonaltyInsights.OnFail()", "Error received: {0}", error.ToString()); }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { Debug.Log("IBM Watson api call failed"); Debug.Log(error.ErrorMessage); }
private void OnFailCheckingIfClassifierIsReady(RESTConnector.Error error, Dictionary <string, object> customData) { IsClassifierReady(_classifierToDelete); }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { Debug.LogError("ExampleVisualRecognition.OnFail(): Error received: " + error.ToString()); }
private void OnFail(RESTConnector.Error error, Dictionary<string, object> customData) { Log.Debug("ExampleAssistantV2.OnFail()", "Call failed: {0}: {1}", error.ErrorCode, error.ErrorMessage); }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Debug("LanguageTranslatorDemo.OnFail()", "Error: {0}", error.ToString()); }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Error("TestNaturalLanguageUnderstanding.OnFail()", "Error received: {0}", error.ToString()); }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { throw new NotImplementedException(); }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Debug("TestCompareComplyV1.OnFail()", "Failed: {0}", error.ErrorMessage); }
private void TtsOnError(RESTConnector.Error error, Dictionary <string, object> customData) { Debug.LogErrorFormat("TextToSpeech Error. {0}", error.ToString()); }
void HandleFailCallback(RESTConnector.Error error, Dictionary <string, object> customData) { Debug.LogError(error); }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Error("TestLanguageTranslator.OnFail()", "Error received: {0}", error.ToString()); }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Error("TestTradeoffAnalytics.OnFail()", "Error received: {0}", error.ToString()); }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Error("ExampleSpeechToText.OnFail()", "Error received: {0}", error.ToString()); }
private void OnCONVFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Error("ExampleConversation.OnFail()", "Error received: {0}", error.ToString()); _messageTested = false; }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Error("ExampleNaturalLanguageClassifier.OnFail()", "Error received: {0}", error.ToString()); }
private void OnTTSFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Error("WatsonTTS.OnFail()", "Error received: {0}", error.ToString()); }
private void OnFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Error("TestVisualRecognition.OnFail()", "Error received: {0}", error.ToString()); }
// OnMessageFail callback private void OnMessageFail(RESTConnector.Error error, Dictionary <string, object> customData) { Log.Error("ExampleCallback.OnMessageFail()", "Error received: {0}", error.ToString()); }