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:
9
infra/conf/v5cfg/errors.generated.go
Normal file
9
infra/conf/v5cfg/errors.generated.go
Normal 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{})
|
||||
}
|
||||
3
infra/conf/v5cfg/v5cfg.go
Normal file
3
infra/conf/v5cfg/v5cfg.go
Normal file
@@ -0,0 +1,3 @@
|
||||
package v5cfg
|
||||
|
||||
//go:generate go run github.com/v2fly/v2ray-core/v4/common/errors/errorgen
|
||||
Reference in New Issue
Block a user