/*----------------------------------------------------------------
    Copyright (C) 2017 Senparc
    
    文件名：WeixinOpenException.cs
    文件功能描述：微信开放平台异常处理类
    
    
    创建标识：Senparc - 20151004

----------------------------------------------------------------*/

using System;
using Senparc.Weixin.Exceptions;
using Senparc.Weixin.QY.CommonAPIs;
using Senparc.Weixin.QY.Containers;

namespace Senparc.Weixin.QY.Exceptions
{
    /// <summary>
    /// 企业号异常
    /// </summary>
    public class WeixinQyException : WeixinException
    {
        public AccessTokenBag AccessTokenBag { get; set; }

        public WeixinQyException(string message, AccessTokenBag accessTokenBag = null, Exception inner=null)
            : base(message, inner)
        {
            AccessTokenBag = accessTokenBag;
        }
    }
}
