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:
parent
324f0abbf0
commit
3ebc365230
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
|
Loading…
Reference in New Issue
Block a user