public static string Status(LogicErrorCode errorCode) { if (errorCode == LogicErrorCode.OK) { return(SUCCESS); } else { return(FAIL); } }
public LogicException(LogicErrorCode errorCode, string errorMessage) : base(errorMessage) { ErrorCode = errorCode; ErrorMessage = errorMessage; }
public LogicException(LogicErrorCode errorCode) : base() { ErrorCode = errorCode; }