update code define
This commit is contained in:
@ -19,10 +19,6 @@ type IException interface {
|
||||
GetCode() interface{}
|
||||
// GetMessage *获取错误信息
|
||||
GetMessage() string
|
||||
// GetRealReason 获取真实失败原因
|
||||
GetRealReason() string
|
||||
// GetSolution 获取解决方案
|
||||
GetSolution() map[string]interface{}
|
||||
// GetData 获取异常时的返回数据
|
||||
GetData() interface{}
|
||||
// GetHttpCode *获取当前异常要返回的http状态码, 不设置则 默认 200
|
||||
|
Reference in New Issue
Block a user