25 lines
524 B
C#
25 lines
524 B
C#
/*
|
|
* Date :2015-6-4 11:47
|
|
* Author:吴梦飞
|
|
* Desc :
|
|
*/
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Nirvana.Common.ApiBase
|
|
{
|
|
public class APIError:ApplicationException
|
|
{
|
|
public APIResult ERR_TYPE { get; set; }
|
|
public string ERR_MESSAGE { get; set; }
|
|
|
|
public APIError(string errMsg, APIResult errType):base(errMsg)
|
|
{
|
|
this.ERR_MESSAGE = errMsg;
|
|
this.ERR_TYPE = errType;
|
|
}
|
|
}
|
|
}
|