github.com/bepass-org/wireguard-go@v1.0.4-rc2.0.20240304192354-ebce6572bc24/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 )