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

`PushWarnings` overloads

== Synopses

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:PushWarnings-02.adoc[PushWarnings](
    xref:UniValue.adoc[UniValue] const& warnings,
    xref:UniValue.adoc[UniValue]& obj);
----

[.small]#xref:PushWarnings-02.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:PushWarnings-0b.adoc[_» more&period;&period;&period;_]#

== Parameters

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


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