mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-09-01 09:14:15 -04:00
10 lines
223 B
Go
10 lines
223 B
Go
|
package cfgcommon
|
||
|
|
||
|
import "github.com/v2fly/v2ray-core/v4/common/errors"
|
||
|
|
||
|
type errPathObjHolder struct{}
|
||
|
|
||
|
func newError(values ...interface{}) *errors.Error {
|
||
|
return errors.New(values...).WithPathObj(errPathObjHolder{})
|
||
|
}
|