mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-02-20 23:47:21 -05:00
fix error generation
This commit is contained in:
parent
98b5b415f0
commit
14633ece42
@ -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+") }")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user