Adding error handling
Adding error handling

bitjson/bitcore,martindale/bitcore,bitpay/bitcore,martindale/bitcore,bitjson/bitcore,martindale/bitcore,bitjson/bitcore,bitjson/bitcore,bitpay/bitcore,bitpay/bitcore,bitpay/bitcore,martindale/bitcore