joshmarshall/jsonrpclib — pull request #21 by tuomassalo (2013-04-11 14:13:22+00:00)
Title: Add access to error.data

When a JSON-RPC call fails, the server *may* send additional information in `error.data`. This change allows access to that data. Now you can do something like:

s = jsonrpclib.Server('http://...')
try:
s.my.method.call(...)
except AppError as e:
# access e.data() here
except:
# protocol errors and other stuff go here, as earlier