github.com/amnezia-vpn/amnezia-wg@v0.1.8/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 )