improve a StructureParser-generated error message