EHPDFHeadlessDocumentError.Create
Unit: HPDFHeadlessDocument
constructor Create(Code: THPDFHeadlessDiagnosticCode; const Detail: string);
Create an exception carrying a machine-readable diagnostic code and descriptive message
Use Code to distinguish malformed input, resource exhaustion, editing constraints, and format boundaries