handling bitcoind error messages