1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-04-18 03:29:12 -04:00

add proto reflection based configure file parsing rule: auto generated

This commit is contained in:
Shelikhoo
2021-09-05 14:07:43 +01:00
parent 690d92718b
commit 78cefbaa91
2 changed files with 61 additions and 28 deletions

View File

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