Loading...
Searching...
No Matches
Typedefs | Enumerations | Functions
error.h File Reference

QUIC errors definitions (headers) More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum imquic_error_code imquic_error_code
 QUIC error codes.
 

Enumerations

enum  imquic_error_code {
  IMQUIC_NO_ERROR = 0x00 , IMQUIC_INTERNAL_ERROR = 0x01 , IMQUIC_CONNECTION_REFUSED = 0x02 , IMQUIC_FLOW_CONTROL_ERROR = 0x03 ,
  IMQUIC_STREAM_LIMIT_ERROR = 0x04 , IMQUIC_STREAM_STATE_ERROR = 0x05 , IMQUIC_FINAL_SIZE_ERROR = 0x06 , IMQUIC_FRAME_ENCODING_ERROR = 0x07 ,
  IMQUIC_TRANSPORT_PARAMETER_ERROR = 0x08 , IMQUIC_CONNECTION_ID_LIMIT_ERROR = 0x09 , IMQUIC_PROTOCOL_VIOLATION = 0x0A , IMQUIC_INVALID_TOKEN = 0x0B ,
  IMQUIC_APPLICATION_ERROR = 0x0C , IMQUIC_CRYPTO_BUFFER_EXCEEDED = 0x0D , IMQUIC_KEY_UPDATE_ERROR = 0x0E , IMQUIC_AEAD_LIMIT_REACHED = 0x0F ,
  IMQUIC_NO_VIABLE_PATH = 0x10 , IMQUIC_CRYPTO_ERROR = 0x0100
}
 QUIC error codes. More...
 

Functions

const char * imquic_error_code_str (imquic_error_code type)
 Helper function to serialize to string the name of a imquic_error_code value.
 

Detailed Description

QUIC errors definitions (headers)

Author
Lorenzo Miniero loren.nosp@m.zo@m.nosp@m.eetec.nosp@m.ho.c.nosp@m.om

Definitions for QUIC errors, and helper functions to use them.

Typedef Documentation

◆ imquic_error_code

QUIC error codes.

Enumeration Type Documentation

◆ imquic_error_code

QUIC error codes.

Enumerator
IMQUIC_NO_ERROR 
IMQUIC_INTERNAL_ERROR 
IMQUIC_CONNECTION_REFUSED 
IMQUIC_FLOW_CONTROL_ERROR 
IMQUIC_STREAM_LIMIT_ERROR 
IMQUIC_STREAM_STATE_ERROR 
IMQUIC_FINAL_SIZE_ERROR 
IMQUIC_FRAME_ENCODING_ERROR 
IMQUIC_TRANSPORT_PARAMETER_ERROR 
IMQUIC_CONNECTION_ID_LIMIT_ERROR 
IMQUIC_PROTOCOL_VIOLATION 
IMQUIC_INVALID_TOKEN 
IMQUIC_APPLICATION_ERROR 
IMQUIC_CRYPTO_BUFFER_EXCEEDED 
IMQUIC_KEY_UPDATE_ERROR 
IMQUIC_AEAD_LIMIT_REACHED 
IMQUIC_NO_VIABLE_PATH 
IMQUIC_CRYPTO_ERROR 

Function Documentation

◆ imquic_error_code_str()

const char * imquic_error_code_str ( imquic_error_code type)

Helper function to serialize to string the name of a imquic_error_code value.

Parameters
typeThe imquic_error_code value
Returns
The code name as a string, if valid, or NULL otherwise