penzance/canvas_python_sdk — pull request #22 by bermudezjd (2014-11-12 21:37:57+00:00)
Title: TLT-423 - Feature/sdk custom exception

Create a custom exception hierarchy for exceptions that occur in the SDK. Instead of catching HTTPErrors and re-raising them, CanvasAPIErrors will be raised instead. A CanvasAPIError maps to HTTPErrors that might occur on the Canvas side. These errors will contain the status code, message json from Canvas, and error message (string representation of the json). Added some new tests. Minor version bump. Minor cleanup of retry logic. Introduce sublime-project settings into version control.