Changed ::ToString method for PDFErrorTYpe to represent the strings used in former MyPDF class