using System;
using System.Collections.Generic;

namespace _Combo
{
    public abstract class ThirdPartyError : BaseCause
    {
        // 扩展信息预留
        public Dictionary<string, string> Extra { get; set; }
        // 是否上报Sentry
        public override bool EnableTracking { get; set; } = true;
        public abstract Exception Cause { get; }

        public abstract string ModuleName { get; }
        public abstract int? ThirdPartyCode { get; }
        public abstract string ThirdPartyMessage { get; }
    }
}