ErrorResponseEx.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Threading.Tasks;
6 
7 namespace Microsoft.Bot.Connector
8 {
12  public class ErrorCodes
13  {
17  public const string ServiceError = "ServiceError";
18 
22  public const string BadArgument = "BadArgument";
23 
27  public const string BadSyntax = "BadSyntax";
28 
32  public const string MissingProperty = "MissingProperty";
33 
37  public const string MessageSizeTooBig = "MessageSizeTooBig";
38  }
39 }
Error codes to communicate when throwing an APIException