From ef2bd1e27c2056cccf052aeb275d86e6e4efd206 Mon Sep 17 00:00:00 2001 From: Yue Sun Date: Fri, 11 Oct 2019 00:36:21 +0800 Subject: [PATCH] add more exception type (#2357) --- .../SkillException.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sdk/csharp/libraries/microsoft.bot.builder.solutions.skills/SkillException.cs b/sdk/csharp/libraries/microsoft.bot.builder.solutions.skills/SkillException.cs index 425cedbe23..37713aa8c7 100644 --- a/sdk/csharp/libraries/microsoft.bot.builder.solutions.skills/SkillException.cs +++ b/sdk/csharp/libraries/microsoft.bot.builder.solutions.skills/SkillException.cs @@ -14,6 +14,21 @@ public enum SkillExceptionType /// AccountNotActivated, + /// + /// Bad Request returned when calling external APIs + /// + APIBadRequest, + + /// + /// Unauthorized returned when calling external APIs + /// + APIUnauthorized, + + /// + /// Forbidden returned when calling external APIs + /// + APIForbidden, + /// /// Other types of exceptions ///