wireguard-go-awg2-lx/tun/errors.go
2026-05-17 20:09:28 +08:00

10 lines
253 B
Go

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