adobe.pdfservices.operation.exception package
Submodules
adobe.pdfservices.operation.exception.exceptions module
- exception adobe.pdfservices.operation.exception.exceptions.SdkException(message, request_tracking_id=None)
Bases:
Exception
SdkException is typically thrown for client-side or network errors.
- property request_tracking_id
The request tracking id of the exception.
- exception adobe.pdfservices.operation.exception.exceptions.ServiceApiException(message, request_tracking_id, status_code=0, error_code='UNKNOWN')
Bases:
Exception
ServiceApiException is thrown when an underlying service API call results in an error.
- DEFAULT_ERROR_CODE = 'UNKNOWN'
Returns the HTTP Status code or DEFAULT_STATUS_CODE if the status code doesn’t adequately represent the error.
- DEFAULT_STATUS_CODE = 0
The default value of status code if there is no status code for this service exception.
- property error_code
Returns the detailed message of this error.
- property request_tracking_id
The request tracking id of the exception.
- property status_code
Returns the HTTP Status code or DEFAULT_STATUS_CODE if the status code doesn’t adequately represent the error.
- exception adobe.pdfservices.operation.exception.exceptions.ServiceUsageException(message, request_tracking_id, status_code=429, error_code='UNKNOWN')
Bases:
Exception
ServiceUsageError is thrown when either service usage limit has been reached or credentials quota has been exhausted.
- DEFAULT_ERROR_CODE = 'UNKNOWN'
The default value of error code if there is no status code for this service failure.
- DEFAULT_STATUS_CODE = 429
The default value of status code if there is no status code for this service failure.
- property error_code
Returns the detailed message of this error.
- property request_tracking_id
The request tracking id of the exception.
- property status_code
Returns the HTTP Status code or DEFAULT_STATUS_CODE if the status code doesn’t adequately represent the error.