package
0.0.0-20241202070857-e8bc3c4afa6d
Repository: https://github.com/project-faster/mp-quic-go.git
Documentation: pkg.go.dev
# Functions
Error creates a new QuicError instance.
ToQuicError converts an arbitrary error to a QuicError.
# Constants
Attempt to send unencrypted STREAM frame.
Multipath is not enabled, but a packet with multipath flag on is received.
Disabled QUIC because of high packet loss rate.
The quic connection has been cancelled.
The connection has been IP pooled into an existing connection.
Connection migration errors.
Connection migration was attempted, but there was no new network to migrate to.
Network changed, but connection had one or more non-migratable streams.
Connection changed networks too many times.
A crypto message was received with a duplicate tag.
A crypto message was received with the wrong encryption level (i.e.
A crypto handshake message resulted in a stateless reject.
An internal error occurred in crypto processing.
Handshake message contained an invalid value length.
A crypto message was received after the handshake was complete.
A crypto message was received that contained a parameter with too few values.
A crypto message was received with a parameter that has no overlap with the local parameter.
A crypto message was received with a mandatory parameter missing.
A handshake message arrived, but we are still validating the previous handshake message.
There was no intersection between the crypto primitives supported by the peer and ourselves.
The server config for a server has expired.
We failed to setup the symmetric keys for a connection.
Handshake message contained out of order tags.
Handshake message contained too many entries.
The server rejected our client hello messages too many times.
A server config update arrived before the handshake is complete.
A crypto handshake message specified an unsupported version.
There was an error decompressing data.
There was an error decrypting.
We received a STREAM_FRAME with no data and no fin flag set.
There was an error encrypting.
There was an error encountered migrating addresses.
There was an error encountered migrating port only.
Closed because we failed to serialize a packet.
The peer received an invalid flow control window.
The peer received too much data, violating flow control.
The peer sent too much data, violating flow control.
Hanshake failed.
The connection timed out waiting for the handshake to complete.
Invalid data on the headers stream received because of decompression failure.
The error codes defined by QUIC Remember to run `go generate ./...` whenever the error codes change.go:generate stringer -type=ErrorCode.
ACK frame data is malformed.
BLOCKED frame data is malformed.
An invalid channel id signature was supplied.
CONNECTION_CLOSE frame data is malformed.
A crypto message was received with an illegal parameter.
A crypto message was received with an illegal message tag.
FEC data is malformed.
Frame data is malformed.
GOAWAY frame data is malformed.
The Header ID for a stream was too far from the previous.
We received invalid data on the headers stream.
Negotiable parameter received during handshake had invalid value.
Control frame is malformed.
PATH_CLOSE frame data is malformed.
A priority was invalid.
Public RST packet is malformed.
RST_STREAM frame data is malformed.
STOP_WAITING frame data is malformed.
STREAM frame data is malformed.
A stream ID was invalid.
Invalid protocol version.
Version negotiation packet is malformed.
WINDOW_UPDATE frame data is malformed.
IP address changed causing connection close.
The packet contained no payload.
The connection timed out due to no network activity.
STREAM frame data overlaps with buffered data.
There was an error while reading from the socket.
The packet exceeded kMaxPacketSize.
There was an error while writing to the socket.
The peer is going away.
The client rejected the server's certificate chain or signature.
Received public reset for this connection.
Disabled QUIC because of too many PUBLIC_RESETs post handshake.
There were data frames after the a fin or reset.
Disabled QUIC because of too many timeouts with streams open.
The peer created too many available streams.
Too many streams already open.
The connection has too many outstanding received packets.
The connection has too many outstanding sent packets.
QUIC timed out after too many RTOs.
FEC frame data is not encrypted.
Received STREAM frame data is not encrypted.
This connection involved a version negotiation which appears to have been tampered with.
# Type aliases
ErrorCode can be used as a normal error without reason.