private static string BuildMessage(AIErrorType aiErrorType, string message) { return(string.Format("-- {0} -- {1}", aiErrorType.ToString(), message)); }
public CognigyAIException(AIErrorType aiErrorType, string message) : base(BuildMessage(aiErrorType, message)) { }