-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrors.go
More file actions
26 lines (24 loc) · 1.65 KB
/
Copy patherrors.go
File metadata and controls
26 lines (24 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package http3
import "errors"
var (
ErrInvalidFrame = errors.New("http3: invalid frame")
ErrFrameTooLarge = errors.New("http3: frame too large")
ErrInvalidVarInt = errors.New("http3: invalid varint")
ErrDuplicateSetting = errors.New("http3: duplicate setting")
ErrTooManySettings = errors.New("http3: too many settings")
ErrUnsupportedFrame = errors.New("http3: unsupported frame")
ErrInvalidFrameOrder = errors.New("http3: invalid frame order")
ErrHeaderListTooLarge = errors.New("http3: header list too large")
ErrInvalidPipeline = errors.New("http3: invalid pipeline config")
ErrQPACKInvalidInstruction = errors.New("http3: invalid qpack instruction")
ErrQPACKCapacityExceeded = errors.New("http3: qpack dynamic table capacity exceeded")
ErrQPACKEntryTooLarge = errors.New("http3: qpack dynamic table entry too large")
ErrQPACKInvalidIndex = errors.New("http3: invalid qpack dynamic table index")
ErrQPACKBlockedStreamsExceeded = errors.New("http3: qpack blocked streams exceeded")
// ErrMissingWebTransportSetting 表示 peer SETTINGS 缺少 WebTransport 必需项。
ErrMissingWebTransportSetting = errors.New("http3: missing webtransport setting")
// ErrInvalidWebTransportSetting 表示 peer SETTINGS 中的 WebTransport 开关值非法。
ErrInvalidWebTransportSetting = errors.New("http3: invalid webtransport setting")
// ErrInvalidWebTransportConnect 表示 extended CONNECT 头部不是合法 WebTransport 建连请求。
ErrInvalidWebTransportConnect = errors.New("http3: invalid webtransport connect request")
)