diff --git a/infra/conf/v5cfg/errors.generated.go b/infra/conf/v5cfg/errors.generated.go new file mode 100644 index 000000000..65b8de82a --- /dev/null +++ b/infra/conf/v5cfg/errors.generated.go @@ -0,0 +1,9 @@ +package v5cfg + +import "github.com/v2fly/v2ray-core/v4/common/errors" + +type errPathObjHolder struct{} + +func newError(values ...interface{}) *errors.Error { + return errors.New(values...).WithPathObj(errPathObjHolder{}) +} diff --git a/infra/conf/v5cfg/v5cfg.go b/infra/conf/v5cfg/v5cfg.go new file mode 100644 index 000000000..0ccde455b --- /dev/null +++ b/infra/conf/v5cfg/v5cfg.go @@ -0,0 +1,3 @@ +package v5cfg + +//go:generate go run github.com/v2fly/v2ray-core/v4/common/errors/errorgen