Home / Type/ Http3ErrorCode Type — netty Architecture

Http3ErrorCode Type — netty Architecture

Architecture documentation for the Http3ErrorCode type/interface in Http3ErrorCode.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1bf1d3c1_a41d_cb3c_70ff_1a7da9930508["Http3ErrorCode"]
  27183f56_2a1b_fc47_ee3c_281ad53cf3c6["Http3ErrorCode.java"]
  1bf1d3c1_a41d_cb3c_70ff_1a7da9930508 -->|defined in| 27183f56_2a1b_fc47_ee3c_281ad53cf3c6
  style 1bf1d3c1_a41d_cb3c_70ff_1a7da9930508 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ErrorCode.java lines 21–143

public enum Http3ErrorCode {

    /**
     * Datagram or Capsule Protocol parse error
     * <a href="https://www.rfc-editor.org/rfc/rfc9297.html#name-http-3-error-code">rfc9297</a>
     * registered in IANA http3
     * <a href="https://www.iana.org/assignments/http3-parameters/http3-parameters.xhtml#http3-parameters-error-codes"
     * >
     *     IANA Http3 Error Codes</a>
     */
    H3_DATAGRAM_ERROR(0x33),

    /**
     *  No error. This is used when the connection or stream needs to be closed, but there is no error to signal.
     */
    H3_NO_ERROR(0x100),

    /**
     * Peer violated protocol requirements in a way that does not match a more specific error code,
     * or endpoint declines to use the more specific error code.
     */
    H3_GENERAL_PROTOCOL_ERROR(0x101),

    /**
     * An internal error has occurred in the HTTP stack.
     */
    H3_INTERNAL_ERROR(0x102),

    /**
     * The endpoint detected that its peer created a stream that it will not accept.
     */
    H3_STREAM_CREATION_ERROR(0x103),

    /**
     * A stream required by the HTTP/3 connection was closed or reset.
     */
    H3_CLOSED_CRITICAL_STREAM(0x104),

    /**
     * A frame was received that was not permitted in the current state or on the current stream.
     */
    H3_FRAME_UNEXPECTED(0x105),

    /**
     * A frame that fails to satisfy layout requirements or with an invalid size was received.
     */
    H3_FRAME_ERROR(0x106),

    /**
     * The endpoint detected that its peer is exhibiting a behavior that might be generating excessive load.
     */
    H3_EXCESSIVE_LOAD(0x107),

    /**
     * A Stream ID or Push ID was used incorrectly, such as exceeding a limit, reducing a limit, or being reused.
     */
    H3_ID_ERROR(0x108),

    /**
     * An endpoint detected an error in the payload of a SETTINGS frame.
     */
    H3_SETTINGS_ERROR(0x109),

    /**
     * No SETTINGS frame was received at the beginning of the control stream.
     */
    H3_MISSING_SETTINGS(0x10a),

    /**
     * A server rejected a request without performing any application processing.
     */
    H3_REQUEST_REJECTED(0x10b),

    /**
     * The request or its response (including pushed response) is cancelled.
     */
    H3_REQUEST_CANCELLED(0x10c),

    /**
     * The client's stream terminated without containing a fully-formed request.
     */

Frequently Asked Questions

What is the Http3ErrorCode type?
Http3ErrorCode is a type/interface in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ErrorCode.java.
Where is Http3ErrorCode defined?
Http3ErrorCode is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ErrorCode.java at line 21.

Analyze Your Own Codebase

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

Try Supermodel Free