update data type
This commit is contained in:
@@ -20,7 +20,7 @@ type IException interface {
|
||||
// Message 获取错误信息
|
||||
Message() string
|
||||
// Data 获取异常时的返回数据
|
||||
Data() map[string]any
|
||||
Data() any
|
||||
// ToError 转换为内置error类型
|
||||
ToError() error
|
||||
// IsCode 是否为指定code
|
||||
|
||||
Reference in New Issue
Block a user