EHPDFHeadlessRichTextCodecError
EHPDFHeadlessRichTextCodecError = class(Exception);
Reports malformed rich XML, invalid Unicode and exceeded rich-text decoder limits
The form-data codec translates this error into EHPDFHeadlessFormDataError; the standalone decoder preserves this exception type
Cooperative cancellation retains EHPDFOperationCancelled and is not translated into a parse error