lixiaojun
2024-11-08 571fb22bfd7ca4b0ca49328be3a3e91c0e3fed0d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
namespace Yw
{
    /// <summary>
    /// 自定义异常
    /// </summary>
    public class BIMFaceException : Exception
    {
        /// <summary>
        /// 
        /// </summary>
        public BIMFaceException(string code)
        {
            this.Code = ResponseHelper.GetResponseCode(code);
            this.Message = ResponseHelper.GetResponseMessage(code);
        }
        /// <summary>
        /// 编码
        /// </summary>
        public eResponseCode Code { get; private set; }
 
        /// <summary>
        /// 信息
        /// </summary>
        public new string Message { get; private set; }
 
    }
}