Skip to content

Commit 09b1572

Browse files
committed
adding url for instructions for getting credentials in the error
1 parent e7ceb0d commit 09b1572

File tree

15 files changed

+15
-15
lines changed

15 files changed

+15
-15
lines changed

Scripts/Services/AlchemyAPI/v1/AlchemyAPI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public AlchemyAPI(Credentials credentials)
9090
}
9191
else
9292
{
93-
throw new WatsonException("Please provide an apikey to use the Alchemy API.");
93+
throw new WatsonException("Please provide an apikey to use the Alchemy API. For more information, see https://github.com/watson-developer-cloud/unity-sdk/#configuring-your-service-credentials");
9494
}
9595
}
9696
#endregion

Scripts/Services/Conversation/v1/Conversation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public Conversation(Credentials credentials)
9595
}
9696
else
9797
{
98-
throw new WatsonException("Please provide a username and password or authorization token to use the Conversation service.");
98+
throw new WatsonException("Please provide a username and password or authorization token to use the Conversation service. For more information, see https://github.com/watson-developer-cloud/unity-sdk/#configuring-your-service-credentials");
9999
}
100100
}
101101
#endregion

Scripts/Services/Discovery/v1/Discovery.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public Discovery(Credentials credentials)
106106
}
107107
else
108108
{
109-
throw new WatsonException("Please provide a username and password or authorization token to use the Discovery service.");
109+
throw new WatsonException("Please provide a username and password or authorization token to use the Discovery service. For more information, see https://github.com/watson-developer-cloud/unity-sdk/#configuring-your-service-credentials");
110110
}
111111
}
112112
#endregion

Scripts/Services/DocumentConversion/v1/DocumentConversion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public DocumentConversion(Credentials credentials)
7777
}
7878
else
7979
{
80-
throw new WatsonException("Please provide a username and password or authorization token to use the Document Conversion service.");
80+
throw new WatsonException("Please provide a username and password or authorization token to use the Document Conversion service. For more information, see https://github.com/watson-developer-cloud/unity-sdk/#configuring-your-service-credentials");
8181
}
8282
}
8383
#endregion

Scripts/Services/LanguageTranslation/v2/LanguageTranslation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public LanguageTranslation(Credentials credentials)
104104
}
105105
else
106106
{
107-
throw new WatsonException("Please provide a username and password or authorization token to use the Language Translation service.");
107+
throw new WatsonException("Please provide a username and password or authorization token to use the Language Translation service. For more information, see https://github.com/watson-developer-cloud/unity-sdk/#configuring-your-service-credentials");
108108
}
109109
}
110110
#endregion

Scripts/Services/LanguageTranslator/v2/LanguageTranslator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public LanguageTranslator(Credentials credentials)
116116
}
117117
else
118118
{
119-
throw new WatsonException("Please provide a username and password or authorization token to use the Language Translator service.");
119+
throw new WatsonException("Please provide a username and password or authorization token to use the Language Translator service. For more information, see https://github.com/watson-developer-cloud/unity-sdk/#configuring-your-service-credentials");
120120
}
121121
}
122122
#endregion

Scripts/Services/NaturalLanguageClassifier/v2/NaturalLanguageClassifier.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public NaturalLanguageClassifier(Credentials credentials)
7676
}
7777
else
7878
{
79-
throw new WatsonException("Please provide a username and password or authorization token to use the Natural Language Classifier service.");
79+
throw new WatsonException("Please provide a username and password or authorization token to use the Natural Language Classifier service. For more information, see https://github.com/watson-developer-cloud/unity-sdk/#configuring-your-service-credentials");
8080
}
8181
}
8282
#endregion

Scripts/Services/NaturalLanguageUnderstanding/v1/NaturalLanguageUnderstanding.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public NaturalLanguageUnderstanding(Credentials credentials)
8989
}
9090
else
9191
{
92-
throw new WatsonException("Please provide a username and password or authorization token to use the Natural Language Understanding service.");
92+
throw new WatsonException("Please provide a username and password or authorization token to use the Natural Language Understanding service. For more information, see https://github.com/watson-developer-cloud/unity-sdk/#configuring-your-service-credentials");
9393
}
9494
}
9595
#endregion

Scripts/Services/PersonalityInsights/v3/PersonalityInsights.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public PersonalityInsights(Credentials credentials)
9191
}
9292
else
9393
{
94-
throw new WatsonException("Please provide a username and password or authorization token to use the Personality Insights service.");
94+
throw new WatsonException("Please provide a username and password or authorization token to use the Personality Insights service. For more information, see https://github.com/watson-developer-cloud/unity-sdk/#configuring-your-service-credentials");
9595
}
9696
}
9797
#endregion

Scripts/Services/RetrieveAndRank/v1/RetrieveAndRank.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public RetrieveAndRank(Credentials credentials)
100100
}
101101
else
102102
{
103-
throw new WatsonException("Please provide a username and password or authorization token to use the Retrieve and Rank service.");
103+
throw new WatsonException("Please provide a username and password or authorization token to use the Retrieve and Rank service. For more information, see https://github.com/watson-developer-cloud/unity-sdk/#configuring-your-service-credentials");
104104
}
105105
}
106106
#endregion

Scripts/Services/SpeechToText/v1/SpeechToText.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public SpeechToText(Credentials credentials)
227227
}
228228
else
229229
{
230-
throw new WatsonException("Please provide a username and password or authorization token to use the Speech to Text service.");
230+
throw new WatsonException("Please provide a username and password or authorization token to use the Speech to Text service. For more information, see https://github.com/watson-developer-cloud/unity-sdk/#configuring-your-service-credentials");
231231
}
232232
}
233233
#endregion

Scripts/Services/TextToSpeech/v1/TextToSpeech.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public TextToSpeech(Credentials credentials)
137137
}
138138
else
139139
{
140-
throw new WatsonException("Please provide a username and password or authorization token to use the Text to Speech service.");
140+
throw new WatsonException("Please provide a username and password or authorization token to use the Text to Speech service. For more information, see https://github.com/watson-developer-cloud/unity-sdk/#configuring-your-service-credentials");
141141
}
142142
}
143143
#endregion

Scripts/Services/ToneAnalyzer/v3/ToneAnalyzer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public ToneAnalyzer(Credentials credentials)
9191
}
9292
else
9393
{
94-
throw new WatsonException("Please provide a username and password or authorization token to use the Tone Analyzer service.");
94+
throw new WatsonException("Please provide a username and password or authorization token to use the Tone Analyzer service. For more information, see https://github.com/watson-developer-cloud/unity-sdk/#configuring-your-service-credentials");
9595
}
9696
}
9797
#endregion

Scripts/Services/TradeoffAnalytics/v1/TradeoffAnalytics.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public TradeoffAnalytics(Credentials credentials)
7777
}
7878
else
7979
{
80-
throw new WatsonException("Please provide a username and password or authorization token to use the Tradeoff Analytics service.");
80+
throw new WatsonException("Please provide a username and password or authorization token to use the Tradeoff Analytics service. For more information, see https://github.com/watson-developer-cloud/unity-sdk/#configuring-your-service-credentials");
8181
}
8282
}
8383
#endregion

Scripts/Services/VisualRecognition/v3/VisualRecognition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public VisualRecognition(Credentials credentials)
225225
}
226226
else
227227
{
228-
throw new WatsonException("Please provide an apikey to use the Visual Recognition service.");
228+
throw new WatsonException("Please provide an apikey to use the Visual Recognition service. For more information, see https://github.com/watson-developer-cloud/unity-sdk/#configuring-your-service-credentials");
229229
}
230230
}
231231
#endregion

0 commit comments

Comments
 (0)