mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-29 18:52:32 +07:00
co-authored by
Alireza Ahmadi
parent
fd6a85afd9
commit
77241c7fcf
@@ -6,8 +6,6 @@ import (
|
||||
"x-ui/logger"
|
||||
)
|
||||
|
||||
var CtxDone = errors.New("context done")
|
||||
|
||||
func NewErrorf(format string, a ...interface{}) error {
|
||||
msg := fmt.Sprintf(format, a...)
|
||||
return errors.New(msg)
|
||||
|
||||
Reference in New Issue
Block a user