lixiaojun
2024-11-15 1aa330646ad9f88abc580e17d08d727a0ecaae48
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; }
 
    }
}