mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-08-21 04:06:27 +00:00
10 lines
214 B
Go
10 lines
214 B
Go
|
package burst
|
||
|
|
||
|
import "github.com/xtls/xray-core/common/errors"
|
||
|
|
||
|
type errPathObjHolder struct{}
|
||
|
|
||
|
func newError(values ...interface{}) *errors.Error {
|
||
|
return errors.New(values...).WithPathObj(errPathObjHolder{})
|
||
|
}
|