github.com/xmplusdev/xmcore@v1.8.11-0.20240412132628-5518b55526af/features/errors.generated.go (about) 1 package features 2 3 import "github.com/xmplusdev/xmcore/common/errors" 4 5 type errPathObjHolder struct{} 6 7 func newError(values ...interface{}) *errors.Error { 8 return errors.New(values...).WithPathObj(errPathObjHolder{}) 9 }