diff --git a/README.md b/README.md index 979f5b5..2220cd7 100644 --- a/README.md +++ b/README.md @@ -282,7 +282,8 @@ Formating helpers are available in helpers.py. Example usage: Exception Handling ---------------- -The QuickbooksException object contains additional information from QBO. +The QuickbooksException object contains additional [QBO error code](https://developer.intuit.com/app/developer/qbo/docs/develop/troubleshooting/error-codes#id1) information. + from quickbooks.exceptions import QuickbooksException @@ -290,7 +291,7 @@ The QuickbooksException object contains additional information from QBO. # perform a Quickbooks operation except QuickbooksException as e: e.message # contains the error message returned from QBO - e.error_code # contains the [QBO error code](https://developer.intuit.com/app/developer/qbo/docs/develop/troubleshooting/error-codes#id1) + e.error_code # contains the e.detail # contains additional information when available diff --git a/requirements.txt b/requirements.txt index 3f35201..e636835 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ intuit-oauth==1.2.3 rauth>=0.7.1 -requests>=2.23.0 +requests>=2.19.1 simplejson>=3.17.0 six>=1.14.0 diff --git a/setup.py b/setup.py index 8cb0bc1..a3c1ef3 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ def read(*parts): 'setuptools', 'intuit-oauth==1.2.3', 'rauth>=0.7.1', - 'requests>=2.23.0', + 'requests>=2.19.1', 'simplejson>=3.17.0', 'six>=1.14.0', 'python-dateutil',