EHPDFHeadlessDocumentError.Code
Unit: HPDFHeadlessDocument
property Code: THPDFHeadlessDiagnosticCode read FCode;
Return the diagnostic supplied when the exception was created
Cancellation raises EHPDFOperationCancelled separately; do not infer unsupported-format diagnostics from message text