def parse(self, field, data): try: return FieldParser.parse(self, field, data) except ValueError as e: report(e) # raise e return None
def parse(self, field, data): try: return FieldParser.parse(self, field, data) except ValueError: return InvalidValue(data)
def parse(self, field, data): try: return FieldParser.parse(self, field, data) except ValueError: return InvalidValue(data)
def parse(self, field, data): try: return FieldParser.parse(self, field, data) except ValueError as e: print(e) return None