using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JiShe.CollectBus.IoTDB.Exceptions { /// /// IoTDB异常 /// public class IoTException : Exception { public int ErrorCode { get; } public IoTException(string message, int errorCode) : base($"{message} (Code: {errorCode})") { ErrorCode = errorCode; } } }