mirror of
https://github.com/number571/go-peer.git
synced 2026-09-14 11:05:42 +05:00
16 lines
559 B
Go
16 lines
559 B
Go
package conn
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrReadFromSocket = errors.New("read from socket")
|
|
ErrWriteToSocket = errors.New("write to socket")
|
|
ErrReadHeaderBlock = errors.New("read header block")
|
|
ErrInvalidMsgSize = errors.New("invalid msgSize")
|
|
ErrReadHeaderBytes = errors.New("read header bytes")
|
|
ErrReadBodyBytes = errors.New("read body bytes")
|
|
ErrInvalidMessageBytes = errors.New("invalid message bytes")
|
|
ErrSendPayloadBytes = errors.New("send payload bytes")
|
|
ErrCreateConnection = errors.New("create connection")
|
|
)
|