isolate router settings synthesis: auto generated file

This commit is contained in:
Shelikhoo
2021-09-04 11:13:13 +01:00
parent 39b3866774
commit 72d2184dba
2 changed files with 18 additions and 0 deletions
@@ -0,0 +1,9 @@
package loader
import "github.com/v2fly/v2ray-core/v4/common/errors"
type errPathObjHolder struct{}
func newError(values ...interface{}) *errors.Error {
return errors.New(values...).WithPathObj(errPathObjHolder{})
}
@@ -0,0 +1,9 @@
package router
import "github.com/v2fly/v2ray-core/v4/common/errors"
type errPathObjHolder struct{}
func newError(values ...interface{}) *errors.Error {
return errors.New(values...).WithPathObj(errPathObjHolder{})
}