Handle ParserError exception in the error message