1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-24 08:25:23 +00:00

fix error generation

This commit is contained in:
Darien Raymond 2017-04-29 22:23:53 +02:00
parent 98b5b415f0
commit 14633ece42
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -40,5 +40,5 @@ func main() {
fmt.Fprintln(file, "")
fmt.Fprintln(file, "import \"v2ray.com/core/common/errors\"")
fmt.Fprintln(file, "")
fmt.Fprintln(file, "func newError(values ...interface{}) *errors.Error { return newError(values...).Path("+pathStr+") }")
fmt.Fprintln(file, "func newError(values ...interface{}) *errors.Error { return errors.New(values...).Path("+pathStr+") }")
}