Home / Class/ QuicTransportError Class — netty Architecture

QuicTransportError Class — netty Architecture

Architecture documentation for the QuicTransportError class in QuicTransportError.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4c401d6b_0666_fbb5_6d0d_49e0ae1ab74b["QuicTransportError"]
  00db9756_6b72_1d0d_9d13_a566afec72ab["QuicTransportError.java"]
  4c401d6b_0666_fbb5_6d0d_49e0ae1ab74b -->|defined in| 00db9756_6b72_1d0d_9d13_a566afec72ab
  3532e06b_c063_96fd_3107_5ce906976bd6["QuicTransportError()"]
  4c401d6b_0666_fbb5_6d0d_49e0ae1ab74b -->|method| 3532e06b_c063_96fd_3107_5ce906976bd6
  e7f1fe62_1c86_deaf_8037_bacab48cb39b["isCryptoError()"]
  4c401d6b_0666_fbb5_6d0d_49e0ae1ab74b -->|method| e7f1fe62_1c86_deaf_8037_bacab48cb39b
  293b3c92_4018_fa7d_d616_a0647e07c0b7["String()"]
  4c401d6b_0666_fbb5_6d0d_49e0ae1ab74b -->|method| 293b3c92_4018_fa7d_d616_a0647e07c0b7
  c4169f78_939b_1bad_83b1_7af2e3fbabed["code()"]
  4c401d6b_0666_fbb5_6d0d_49e0ae1ab74b -->|method| c4169f78_939b_1bad_83b1_7af2e3fbabed
  55ad9f73_705d_cf85_48b4_76bbefe5f7e6["equals()"]
  4c401d6b_0666_fbb5_6d0d_49e0ae1ab74b -->|method| 55ad9f73_705d_cf85_48b4_76bbefe5f7e6
  17757f08_fb41_305a_abe3_5333ce03dee2["hashCode()"]
  4c401d6b_0666_fbb5_6d0d_49e0ae1ab74b -->|method| 17757f08_fb41_305a_abe3_5333ce03dee2

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicTransportError.java lines 26–237

public final class QuicTransportError {

    /**
     * An endpoint uses this with CONNECTION_CLOSE to signal that the connection is being closed abruptly in the
     * absence of any error.
     */
    public static final QuicTransportError NO_ERROR =
            new QuicTransportError(0x0, "NO_ERROR");

    /**
     * The endpoint encountered an internal error and cannot continue with the connection.
     */
    public static final QuicTransportError INTERNAL_ERROR =
            new QuicTransportError(0x1, "INTERNAL_ERROR");

    /**
     * The server refused to accept a new connection.
     */
    public static final QuicTransportError CONNECTION_REFUSED =
            new QuicTransportError(0x2, "CONNECTION_REFUSED");

    /**
     * An endpoint received more data than it permitted in its advertised data limits.
     */
    public static final QuicTransportError FLOW_CONTROL_ERROR =
            new QuicTransportError(0x3, "FLOW_CONTROL_ERROR");

    /**
     * An endpoint received a frame for a stream identifier that exceeded its advertised stream limit for the
     * corresponding stream type.
     */
    public static final QuicTransportError STREAM_LIMIT_ERROR =
            new QuicTransportError(0x4, "STREAM_LIMIT_ERROR");

    /**
     * An endpoint received a frame for a stream that was not in a state that permitted that frame.
     */
    public static final QuicTransportError STREAM_STATE_ERROR =
            new QuicTransportError(0x5, "STREAM_STATE_ERROR");

    /**
     * (1) An endpoint received a STREAM frame containing data that exceeded the previously established final size,
     * (2) an endpoint received a STREAM frame or a RESET_STREAM frame containing a final size that was lower than
     * the size of stream data that was already received, or (3) an endpoint received a STREAM frame or a RESET_STREAM
     * frame containing a different final size to the one already established.
     */
    public static final QuicTransportError FINAL_SIZE_ERROR =
            new QuicTransportError(0x6, "FINAL_SIZE_ERROR");

    /**
     * An endpoint received a frame that was badly formatted -- for instance, a frame of an unknown type or an ACK
     * frame that has more acknowledgment ranges than the remainder of the packet could carry.
     */
    public static final QuicTransportError FRAME_ENCODING_ERROR =
            new QuicTransportError(0x7, "FRAME_ENCODING_ERROR");

    /**
     * An endpoint received transport parameters that were badly formatted, included an invalid value, omitted a
     * mandatory transport parameter, included a forbidden transport parameter, or were otherwise in error.
     */
    public static final QuicTransportError TRANSPORT_PARAMETER_ERROR =
            new QuicTransportError(0x8, "TRANSPORT_PARAMETER_ERROR");

    /**
     * The number of connection IDs provided by the peer exceeds the advertised active_connection_id_limit.
     */
    public static final QuicTransportError CONNECTION_ID_LIMIT_ERROR =
            new QuicTransportError(0x9, "CONNECTION_ID_LIMIT_ERROR");

    /**
     * An endpoint detected an error with protocol compliance that was not covered by more specific error codes.
     */
    public static final QuicTransportError PROTOCOL_VIOLATION =
            new QuicTransportError(0xa, "PROTOCOL_VIOLATION");

    /**
     * A server received a client Initial that contained an invalid Token field.
     */
    public static final QuicTransportError INVALID_TOKEN =
            new QuicTransportError(0xb, "INVALID_TOKEN");

Frequently Asked Questions

What is the QuicTransportError class?
QuicTransportError is a class in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicTransportError.java.
Where is QuicTransportError defined?
QuicTransportError is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicTransportError.java at line 26.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free