gitee.com/aurawing/surguard-go@v0.3.1-0.20240409071558-96509a61ecf3/tun/errors.go (about) 1 package tun 2 3 import ( 4 "errors" 5 ) 6 7 var ( 8 // ErrTooManySegments is returned by Device.Read() when segmentation 9 // overflows the length of supplied buffers. This error should not cause 10 // reads to cease. 11 ErrTooManySegments = errors.New("too many segments") 12 )