iedc-go/common/error.go
2021-05-25 05:08:17 +08:00

18 lines
208 B
Go

package common
// Error 框架层处理错误
type Error struct {
error
}
func (that *Error) GetError() error {
return that.error
}
func (that *Error) SetError(err error) {
that.error = err
return
}