1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-28 14:56:33 -04:00

Added Generated error helper

This commit is contained in:
Shelikhoo 2017-11-03 12:39:43 +08:00
parent fdfa49dd1b
commit 5a7c49f3bd
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,3 @@
package domainsocket
//go:generate go run $GOPATH/src/v2ray.com/core/tools/generrorgen/main.go -pkg domainsocket -path Transport,Internet,DomainSocket

View File

@ -0,0 +1,5 @@
package domainsocket
import "v2ray.com/core/common/errors"
func newError(values ...interface{}) *errors.Error { return errors.New(values...).Path("Transport", "Internet", "DomainSocket") }