ass="ttdeci">NATS_EXTERN microError * microRequest_RespondCustom(microRequest *req, microError *err, const char *data, size_t len)</div><div class="ttdoc">Respond to a message, with an OK or an error.</div></div>
</div><!-- fragment --><p>Or, if the request handler has its own cleanup logic:</p>
<div class="fragment"><div class="line"><span class="keywordflow">if</span> (err = somefunc(), err != NULL)</div>
<div class="line">    <span class="keywordflow">goto</span> CLEANUP;</div>
<div class="line">...</div