Transaction.addSignedInput: catch API usage error.