The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
woop/p2p/errors.go

11 lines
249 B

package p2p
import "errors"
// Error of host package
var (
ErrNewStream = errors.New("[HOST]: new stream error")
ErrMsgWrite = errors.New("[HOST]: send message write error")
ErrAddProtocols = errors.New("[HOST]: cannot add protocols")
)