1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-02 23:35:40 -05:00

show warning for asset directory transversal to prepare for network api based reload in v5

This commit is contained in:
Shelikhoo
2021-05-05 11:25:50 +01:00
parent 736379d22d
commit a720d1e2d6
4 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
package platform
import "github.com/v2fly/v2ray-core/v4/common/errors"
type errPathObjHolder struct{}
func newError(values ...interface{}) *errors.Error {
return errors.New(values...).WithPathObj(errPathObjHolder{})
}