MCPcopy Create free account
hub / github.com/ElementsProject/lightning / fail_internalerr

Function fail_internalerr

plugins/offers_invreq_hook.c:97–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97static struct command_result *WARN_UNUSED_RESULT
98fail_internalerr(struct command *cmd,
99 const struct invreq *invreq,
100 const char *fmt, ...)
101{
102 va_list ap;
103 struct command_result *ret;
104
105 va_start(ap, fmt);
106 ret = fail_invreq_level(cmd, invreq, LOG_BROKEN, fmt, ap);
107 va_end(ap);
108
109 return ret;
110}
111
112#define invreq_must_have(cmd_, ir_, fld_) \
113 test_field(cmd_, ir_, ir_->invreq->fld_ != NULL, #fld_, "missing")

Callers 6

errorFunction · 0.70
createinvoice_doneFunction · 0.70
prev_invoice_doneFunction · 0.70
currency_doneFunction · 0.70
convert_currencyFunction · 0.70
listoffers_doneFunction · 0.70

Calls 1

fail_invreq_levelFunction · 0.85

Tested by

no test coverage detected