21 InitError(
_(
"A fatal internal error occurred, see debug.log for details: ") + message);
23 if (shutdown_request && !shutdown_request()) {
24 LogError(
"Failed to send shutdown signal\n");
Manages warning messages within a node.
bool Set(warning_type id, bilingual_str message) EXCLUSIVE_LOCKS_REQUIRED(!m_mutex)
Set a warning message.
bool InitError(const bilingual_str &str)
Show error message.
void AbortNode(const std::function< bool()> &shutdown_request, std::atomic< int > &exit_status, const bilingual_str &message, node::Warnings *warnings)
bilingual_str _(ConstevalStringLiteral str)
Translation function.