mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-16 19:49:56 +00:00
13 lines
367 B
Go
13 lines
367 B
Go
package net
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrClosedByServer = errors.New("closed by server")
|
|
|
|
// ErrDatagramTooLarge is returned when a transport message exceeds the
|
|
// QUIC datagram size the path to the relay can carry. The relay client
|
|
// treats it as a signal to fall back to a non-datagram transport.
|
|
ErrDatagramTooLarge = errors.New("datagram frame too large")
|
|
)
|