mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-01-23 02:18:13 -05:00
10 lines
216 B
Go
10 lines
216 B
Go
|
package limiter
|
||
|
|
||
|
import "github.com/xtls/xray-core/common/errors"
|
||
|
|
||
|
type errPathObjHolder struct{}
|
||
|
|
||
|
func newError(values ...interface{}) *errors.Error {
|
||
|
return errors.New(values...).WithPathObj(errPathObjHolder{})
|
||
|
}
|