3835: Improve error reporting in PySDK Keep client.
authorBrett Smith <brett@curoverse.com>
Fri, 9 Jan 2015 18:15:07 +0000 (13:15 -0500)
committerBrett Smith <brett@curoverse.com>
Thu, 15 Jan 2015 16:55:13 +0000 (11:55 -0500)
commit079a14ebb221f2f0b4aa9eca266cc3efb8eb0150
tree194ba28483e18b9c9086d57be1a2ab6973021279
parent212e68e9df1ee2bf2b9642d87452e4520532f84d
3835: Improve error reporting in PySDK Keep client.

* Create a KeepRequestError base exception to store information about
  errors encountered when talking to Keep services, and include those
  in the default formatting.
* Include Keep service error information in exceptions raised by the
  Keep client.
sdk/python/arvados/errors.py
sdk/python/arvados/keep.py
sdk/python/tests/test_errors.py [new file with mode: 0644]
sdk/python/tests/test_keep_client.py