1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-11-23 12:02:58 -05:00

isolate sniffer config

This commit is contained in:
Shelikhoo
2021-09-04 12:47:23 +01:00
parent 3e68a192f5
commit 38210fd74a

View File

@@ -0,0 +1,9 @@
package sniffer
import "github.com/v2fly/v2ray-core/v4/common/errors"
type errPathObjHolder struct{}
func newError(values ...interface{}) *errors.Error {
return errors.New(values...).WithPathObj(errPathObjHolder{})
}