1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-11-09 00:37:36 -05:00

add error message for v5cfg

This commit is contained in:
Shelikhoo
2021-09-04 16:49:07 +01:00
parent 324f0abbf0
commit 3ebc365230
2 changed files with 12 additions and 0 deletions

View File

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

View File

@@ -0,0 +1,3 @@
package v5cfg
//go:generate go run github.com/v2fly/v2ray-core/v4/common/errors/errorgen