Move declaration of _genFieldErrMsg in FieldParser into the header file