implement scoped transient storage: auto generated

This commit is contained in:
Shelikhoo 2022-02-06 20:26:05 +00:00 committed by Xiaokang Wang (Shelikhoo)
parent f19f4eb430
commit 2a90a46ed5
1 changed files with 9 additions and 0 deletions

View File

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