isolate dns settings synthesis: auto generated

This commit is contained in:
Shelikhoo
2021-09-04 11:13:13 +01:00
parent b37755d111
commit c86ac3aca6
@@ -0,0 +1,9 @@
package dns
import "github.com/v2fly/v2ray-core/v4/common/errors"
type errPathObjHolder struct{}
func newError(values ...interface{}) *errors.Error {
return errors.New(values...).WithPathObj(errPathObjHolder{})
}