1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-26 01:15:38 +00:00

isolate sniffer config

This commit is contained in:
Shelikhoo 2021-09-04 12:47:23 +01:00
parent 3e68a192f5
commit 38210fd74a
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

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{})
}