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

Function plugin_errv

plugins/libplugin.c:1352–1363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1350}
1351
1352void NORETURN plugin_errv(struct plugin *p, const char *fmt, va_list ap)
1353{
1354 va_list ap2;
1355
1356 /* In case it gets consumed, make a copy. */
1357 va_copy(ap2, ap);
1358
1359 plugin_logv(p, LOG_BROKEN, fmt, ap);
1360 vfprintf(stderr, fmt, ap2);
1361 plugin_exit(p, 1);
1362 va_end(ap2);
1363}
1364
1365void NORETURN plugin_err(struct plugin *p, const char *fmt, ...)
1366{

Callers 2

plugin_errFunction · 0.85
db_fatalFunction · 0.85

Calls 2

plugin_logvFunction · 0.85
plugin_exitFunction · 0.85

Tested by

no test coverage detected