[#node-PSBTAnalysis-SetInvalid]
= xref:node.adoc[node]::xref:node/PSBTAnalysis.adoc[PSBTAnalysis]::SetInvalid
:relfileprefix: ../../
:mrdocs:

Clears the analysis results and records an error message&period;

== Synopsis

Declared in `&lt;node&sol;psbt&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SetInvalid(std::string err&lowbar;msg);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *err&lowbar;msg*
| The error message describing why the PSBT is invalid&period;
|===


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