github.com/shaoyuan1943/gokcp@v0.0.0-20201026071748-5b36d4c87f61/errors.go (about) 1 package gokcp 2 3 import "errors" 4 5 var ( 6 ErrDataInvalid = errors.New("data invalid") 7 ErrDataTooLong = errors.New("the data too long") 8 ErrDifferenceConvID = errors.New("difference conv ID") 9 ErrNoReadableData = errors.New("no readable data") 10 ErrNoEnoughSpace = errors.New("no enough space to add data") 11 )