assert_raises_rpc_error(-8,"confTarget can't be set with totalFee or fee_rate. Please provide either a confirmation target in blocks for automatic fee estimation, or an explicit fee rate.",rbf_node.bumpfee,rbfid,{"fee_rate":0.00001,"confTarget":1})
assert_raises_rpc_error(-8,"confTarget can't be set with totalFee or fee_rate. Please provide either a confirmation target in blocks for automatic fee estimation, or an explicit fee rate.",rbf_node.bumpfee,rbfid,{"totalFee":0.00001,"confTarget":1})
assert_raises_rpc_error(-8,"fee_rate can't be set along with totalFee.",rbf_node.bumpfee,rbfid,{"fee_rate":0.00001,"totalFee":0.001})
# Bumping to just above minrelay should fail to increase total fee enough, at least
assert_raises_rpc_error(-8,"Insufficient total fee",rbf_node.bumpfee,rbfid,{"fee_rate":0.00001000})
assert_raises_rpc_error(-3,"Amount out of range",rbf_node.bumpfee,rbfid,{"fee_rate":-1})
assert_raises_rpc_error(-4,"is too high (cannot be higher than",rbf_node.bumpfee,rbfid,{"fee_rate":1})