mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-24 01:21:29 +00:00
a0a32ee00d
Co-authored-by: JimhHan <50871214+JimhHan@users.noreply.github.com>
10 lines
213 B
Go
10 lines
213 B
Go
package grpc
|
|
|
|
import "github.com/xtls/xray-core/common/errors"
|
|
|
|
type errPathObjHolder struct{}
|
|
|
|
func newError(values ...interface{}) *errors.Error {
|
|
return errors.New(values...).WithPathObj(errPathObjHolder{})
|
|
}
|