mirror of
https://github.com/XrayR-project/XrayR.git
synced 2025-08-01 06:56:52 +00:00
Add files via upload
This commit is contained in:
9
common/rule/errors.go
Normal file
9
common/rule/errors.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package rule
|
||||
|
||||
import "github.com/xtls/xray-core/common/errors"
|
||||
|
||||
type errPathObjHolder struct{}
|
||||
|
||||
func newError(values ...interface{}) *errors.Error {
|
||||
return errors.New(values...).WithPathObj(errPathObjHolder{})
|
||||
}
|
Reference in New Issue
Block a user