Map a transaction error to the matching RPC error code.
Declared in <rpc/util.h>
<rpc/util.h>
RPCErrorCode RPCErrorFromTransactionError(node::TransactionError terr);
The corresponding RPC error code.