Registers a callback to be invoked when a page conversion fails.
defon_conversion_failed(self,on_failed):...
Parameter
Type
Description
on_failed
Action[ConvertedPageContext, Exception]
Callable[[GroupDocs.Conversion.Fluent.IConversionContext, Exception], Any] – an action to handle the failure, receiving the converted page context and the exception that caused the failure.
Returns: IConversionByPageHandlerSetup: Interface to continue conversion building, allowing only OnConversionCompleted or Convert/Compress.