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

Function fail_internalerr

plugins/offers_invreq_hook.c:85–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85static struct command_result *WARN_UNUSED_RESULT
86fail_internalerr(struct command *cmd,
87 const struct invreq *invreq,
88 const char *fmt, ...)
89{
90 va_list ap;
91 struct command_result *ret;
92
93 va_start(ap, fmt);
94 ret = fail_invreq_level(cmd, invreq, LOG_BROKEN, fmt, ap);
95 va_end(ap);
96
97 return ret;
98}
99
100#define invreq_must_have(cmd_, ir_, fld_) \
101 test_field(cmd_, ir_, ir_->invreq->fld_ != NULL, #fld_, "missing")

Callers 7

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

Calls 1

fail_invreq_levelFunction · 0.85

Tested by

no test coverage detected