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