API Errors¶
gotenberg_client.BaseClientError
¶
Base exception for any errors raised directly by this library.
All custom exceptions in this library inherit from this class, allowing for more granular exception handling.
gotenberg_client.CannotExtractHereError
¶
Raised when extraction of a ZipFileResponse cannot be performed at the specified location.
gotenberg_client.InvalidPdfRevisionError
¶
Raised when attempting to set the PDF version using the metadata to an invalid value.
gotenberg_client.MaxRetriesExceededError
¶
Raised if the number of retries exceeded the configured maximum.
This exception occurs when an operation fails repeatedly and exhausts all retry attempts allowed by the configuration.
Attributes:
Name | Type | Description |
---|---|---|
response | Response | The last failed response that triggered this exception. |
gotenberg_client.NegativeWaitDurationError
¶
Raised when a negative wait duration is provided as a waiting time.