增加是否制定错误码判断
This commit is contained in:
@ -29,4 +29,6 @@ type IException interface {
|
||||
GetHttpCode() int
|
||||
// ToError 转换为内置error类型
|
||||
ToError() error
|
||||
// IsCode 是否为指定code
|
||||
IsCode(code interface{}) bool
|
||||
}
|
||||
|
Reference in New Issue
Block a user