install error

This commit is contained in:
TenderIronh
2021-12-21 14:41:07 +08:00
parent 2d6521be43
commit a528441342
4 changed files with 25 additions and 14 deletions

13
errorcode.go Normal file
View File

@@ -0,0 +1,13 @@
package main
import (
"errors"
)
// error message
var (
// ErrorS2S string = "s2s is not supported"
// ErrorHandshake string = "handshake error"
ErrorS2S = errors.New("s2s is not supported")
ErrorHandshake = errors.New("handshake error")
)