using MAX.Framework.Dtos; using System; using System.Collections.Generic; using System.Text; namespace MAX.Framework.Commons { public class AppException : Exception { public int Code { get; } public AppException(string message, int code = ResultCode.BusinessError) : base(message) { Code = code; } } }