virtual-vxlan/tun/errors.go
2025-01-05 22:22:24 -06:00

13 lines
273 B
Go

package tun
import (
"errors"
)
var (
// ErrTooManySegments is returned by Device.Read() when segmentation
// overflows the length of supplied buffers. This error should not cause
// reads to cease.
ErrTooManySegments = errors.New("too many segments")
)