Exceptions
hypha.apply.projects.services.sageintacct.exceptions
¶
SageIntacctSDKError
¶
Bases: Exception
The base exception class for SageIntacctSDK.
Parameters:
-
msg
(str
) –Short description of the error.
-
response
–Error response from the API call.
Source code in hypha/apply/projects/services/sageintacct/exceptions.py
SageIntacctSDKWarning
¶
Bases: Warning
The base Warning class for SageIntacctSDK.
Parameters:
-
msg
(str
) –Short description of the alert.
-
response
–Error response from the API call.
Source code in hypha/apply/projects/services/sageintacct/exceptions.py
ExpiredTokenError
¶
Bases: SageIntacctSDKError
Expired (old) access token, 498 error.
Source code in hypha/apply/projects/services/sageintacct/exceptions.py
InvalidTokenError
¶
Bases: SageIntacctSDKError
Wrong/non-existing access token, 401 error.
Source code in hypha/apply/projects/services/sageintacct/exceptions.py
NoPrivilegeError
¶
Bases: SageIntacctSDKError
The user has insufficient privilege, 403 error.
Source code in hypha/apply/projects/services/sageintacct/exceptions.py
WrongParamsError
¶
Bases: SageIntacctSDKError
Some of the parameters (HTTP params or request body) are wrong, 400 error.
Source code in hypha/apply/projects/services/sageintacct/exceptions.py
NotFoundItemError
¶
Bases: SageIntacctSDKError
Not found the item from URL, 404 error.
Source code in hypha/apply/projects/services/sageintacct/exceptions.py
InternalServerError
¶
Bases: SageIntacctSDKError
The rest SageIntacctSDK errors, 500 error.
Source code in hypha/apply/projects/services/sageintacct/exceptions.py
DataIntegrityWarning
¶
Bases: SageIntacctSDKWarning
Warns the user that a query did not return all records meeting specified criteria