Skip to content

Commit

Permalink
Updates to requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
ej2 committed Apr 22, 2020
1 parent 114f10e commit d50394c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,15 +282,16 @@ 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

try:
# 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


Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit d50394c

Please sign in to comment.