Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If "ok" is 0, throw an exception instead of returning the decoded json. The exception it returns stringifies nicely by default and exposes the response object as an attribute (.response) on the exception instance. You can also access the details of the decoded json by examining the .content attribute
- Loading branch information