
ngtcp2_conn_get_ccerr2
======================

Synopsis
--------

*#include <ngtcp2/ngtcp2.h>*

.. function:: const ngtcp2_ccerr * ngtcp2_conn_get_ccerr2(const ngtcp2_conn *conn)

    
    `ngtcp2_conn_get_ccerr2` returns the received connection close
    error.  If no connection error is received, it returns
    :type:`ngtcp2_ccerr` that is initialized by `ngtcp2_ccerr_default`.
    
    .. version-added:: 1.23.0
