[#PushWarnings-0b]
= PushWarnings
:mrdocs:

Push warning messages to an RPC &quot;warnings&quot; field as a JSON array of strings&period;

== Synopsis

Declared in `&lt;rpc&sol;util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
PushWarnings(
    std::vector&lt;bilingual&lowbar;str&gt; const& warnings,
    xref:UniValue.adoc[UniValue]& obj);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *warnings*
| Warning messages to push&period;
| *obj*
| UniValue object to push the warnings array to&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
