Add files via upload

This commit is contained in:
pocketW
2022-04-27 14:01:18 +10:00
committed by GitHub
commit 05ec5660cf
77 changed files with 23999 additions and 0 deletions

9
common/rule/errors.go Normal file
View File

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