The pre-defined error code is one of :macro:`nghttp2_error_code`.
The *flags* is currently ignored and should be
- :macro:`NGHTTP2_FLAG_NONE`.
+ :macro:`nghttp2_flag.NGHTTP2_FLAG_NONE`.
This function returns 0 if it succeeds, or one of the following
negative error codes:
- :macro:`NGHTTP2_ERR_NOMEM`
+ :macro:`nghttp2_error.NGHTTP2_ERR_NOMEM`
Out of memory.
- :macro:`NGHTTP2_ERR_INVALID_ARGUMENT`
+ :macro:`nghttp2_error.NGHTTP2_ERR_INVALID_ARGUMENT`
The *stream_id* is 0.