on_conversion_failed method
Leave feedback
On this page
Registers a callback to be invoked when a document conversion fails.
def on_conversion_failed(self, on_failed):
...
| Parameter | Type | Description |
|---|---|---|
| on_failed | Action[ConvertedContext, Exception] |
Callable that handles the failure, receiving the conversion context and the exception that caused the failure. |
Returns: The flat handlers stage, so additional handlers or Convert/Compress may be chained.
- class
IConversionHandlerFailed
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.