dissertation-2-code/shared/errors.go
Jake Hillion c9596909f2
Some checks failed
continuous-integration/drone/push Build is failing
new udp exchange
2021-04-14 17:07:59 +01:00

9 lines
262 B
Go

package shared
import "errors"
var ErrBadChecksum = errors.New("the packet had a bad checksum")
var ErrDeadConnection = errors.New("the connection is dead")
var ErrNotEnoughBytes = errors.New("not enough bytes")
var ErrBadExchange = errors.New("bad exchange")