ngtcp2_err_infer_quic_transport_error_code

Synopsis

#include <ngtcp2/ngtcp2.h>

uint64_t ngtcp2_err_infer_quic_transport_error_code(int liberr)

ngtcp2_err_infer_quic_transport_error_code() returns a QUIC transport error code which corresponds to liberr. liberr must be one of ngtcp2 library error codes (which is defined as NGTCP2_ERR_* macros).