feat: improve code, add errors

This commit is contained in:
weloe
2023-10-12 16:31:44 +08:00
parent 2d802fd47b
commit 05d6f38f64
5 changed files with 37 additions and 27 deletions

11
errors/id_error.go Normal file
View File

@@ -0,0 +1,11 @@
package errors
import (
"errors"
)
var (
BeReplaced = errors.New("this account is replaced")
BeKicked = errors.New("this account is kicked out")
BeBanned = errors.New("this account is banned")
)