nghttp2_err_infer_http2_error_code

Synopsis

#include <nghttp2v2/nghttp2.h>

uint32_t nghttp2_err_infer_http2_error_code(int liberr)

nghttp2_err_infer_http2_error_code() returns an HTTP/2 error code which corresponds to liberr. liberr must be one of nghttp2 library error codes (which is defined as NGHTTP2_ERR_* macros).