mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-05 12:39:21 +02:00
10 lines
216 B
Go
10 lines
216 B
Go
|
package main
|
||
|
|
||
|
import "github.com/xtls/xray-core/v1/common/errors"
|
||
|
|
||
|
type errPathObjHolder struct{}
|
||
|
|
||
|
func newError(values ...interface{}) *errors.Error {
|
||
|
return errors.New(values...).WithPathObj(errPathObjHolder{})
|
||
|
}
|