Loading...
Searching...
No Matches
Functions
error.c File Reference

QUIC errors definitions. More...

#include <stddef.h>
#include "internal/error.h"
Include dependency graph for error.c:

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.

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.

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