WebConvertError Class Documentation
class WebConvertError : ErrorNamespace:datalogics_interface
- Inherits from:
Error
Detailed Description
Thrown by web-to-PDF conversion when the underlying plugin reports a non-cancellation failure. Carries the C-layer result code and textual detail in addition to the human-readable what() string.
Constructor & Destructor Documentation
WebConvertError
WebConvertError(Category category, int plugin_result_code, const std::string & detail)Parameters
category: Categoryplugin_result_code: intdetail: const std::string &
Member Function Documentation
category
Category category()Returns:
Categorydetail
const std::string & detail()Returns:
const std::string &from WebToPDFGetLastError
get_error_code
DL_ERROR_MEMBER int get_error_code()Returns:
DL_ERROR_MEMBER intThe Adobe PDF Library error code, or 0 when the failure carries none.
Decode the value with the APDFL ErrGetSeverity, ErrGetSystem and ErrGetCode macros, or compare it against a whole code.
plugin_result_code
int plugin_result_code()Returns:
intWebToPDFResultCode value.