V2bX/common/limiter/errors.go

10 lines
216 B
Go
Raw Normal View History

2022-06-01 13:35:41 -04:00
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{})
}