Merge to XFA: Return error information from pdfium to JS.