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")