Closed maraoz closed 9 years ago
This will output something like this: bitcoinrpc.authproxy.JSONRPCException: {'message': 'bar', 'code': -5}
JSON strings are normally not used in exception messages. See pull #21 for a more Pythonic way.
Please @jgarzik, apply rspeed's fix.
ping
Sorry to bother again @jgarzik but it will be possible to merge this? thanks
Upstream updates superceded this -- please open a new PR with further updates (which are welcome)
Following this guide> http://stackoverflow.com/questions/1319615/proper-way-to-declare-custom-exceptions-in-modern-python