1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 09:36:34 -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
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316
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