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.
InvalidTokenError
¶
Bases: SageIntacctSDKError
Wrong/non-existing access token, 401 error.
NoPrivilegeError
¶
Bases: SageIntacctSDKError
The user has insufficient privilege, 403 error.
WrongParamsError
¶
Bases: SageIntacctSDKError
Some of the parameters (HTTP params or request body) are wrong, 400 error.
NotFoundItemError
¶
Bases: SageIntacctSDKError
Not found the item from URL, 404 error.
InternalServerError
¶
Bases: SageIntacctSDKError
The rest SageIntacctSDK errors, 500 error.
DataIntegrityWarning
¶
Bases: SageIntacctSDKWarning
Warns the user that a query did not return all records meeting specified criteria