Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit ef2bd1e

Browse files
KayMKMryanisgrig
authored andcommitted
add more exception type (#2357)
1 parent 6d9704a commit ef2bd1e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

sdk/csharp/libraries/microsoft.bot.builder.solutions.skills/SkillException.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,21 @@ public enum SkillExceptionType
1414
/// </summary>
1515
AccountNotActivated,
1616

17+
/// <summary>
18+
/// Bad Request returned when calling external APIs
19+
/// </summary>
20+
APIBadRequest,
21+
22+
/// <summary>
23+
/// Unauthorized returned when calling external APIs
24+
/// </summary>
25+
APIUnauthorized,
26+
27+
/// <summary>
28+
/// Forbidden returned when calling external APIs
29+
/// </summary>
30+
APIForbidden,
31+
1732
/// <summary>
1833
/// Other types of exceptions
1934
/// </summary>

0 commit comments

Comments
 (0)