Edit

Share via


QuicError Enum

Definition

Defines the various error conditions for QuicListener, QuicConnection, and QuicStream operations.

public enum class QuicError
public enum QuicError
type QuicError = 
Public Enum QuicError
Inheritance
QuicError

Fields

Name Value Description
Success 0

No error.

InternalError 1

An internal implementation error occurred.

ConnectionAborted 2

The connection was aborted by the peer. This error is associated with an application-level error code.

StreamAborted 3

The read or write direction of the stream was aborted by the peer. This error is associated with an application-level error code.

AddressInUse 4

The local address is already in use.

InvalidAddress 5

Failed to bind to the socket, likely caused by a family mismatch between the local and remote address.

ConnectionTimeout 6

The connection timed out waiting for a response from the peer.

HostUnreachable 7

The server is currently unreachable.

ConnectionRefused 8

The server refused the connection.

VersionNegotiationError 9

A version negotiation error occurred.

ConnectionIdle 10

The connection timed out from inactivity.

ProtocolError 11

A QUIC protocol error occurred.

OperationAborted 12

The operation has been aborted.

AlpnInUse 13

Another QUIC listener is already listening on one of the requested application protocols on the same port.

TransportError 14

The operation failed because a peer transport error occurred.

CallbackError 15

An error occurred in the user provided callback.

Applies to