[#JSONRPCPSBTError]
= JSONRPCPSBTError
:mrdocs:

Build a JSON&hyphen;RPC error object for a PSBT error&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:UniValue.adoc[UniValue]
JSONRPCPSBTError(xref:common/PSBTError.adoc[common::PSBTError] err);
----

== Return Value

A JSON&hyphen;RPC error object&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *err*
| The PSBT error to report&period;
|===


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