Exceptions

class fuzzyfields.ValidationError(name: Optional[str] = None)

Common ancestor of all landg.validators exceptions

Parameters

name (str) – Field name, or None if the FuzzyField is used neither as a class property nor within a DictReader

class fuzzyfields.MalformedFieldError(name: Optional[str], value: Any = None, expect: Any = None)

Parsed malformed field

class fuzzyfields.FieldTypeError(name: Optional[str], value: Any = None, expect: Any = None)

Parsed field of invalid type

class fuzzyfields.DuplicateError(name: Optional[str], value: Any = None)

The same value appeared twice for the same field and the unique parameter is set to True.

class fuzzyfields.DomainError(name: Optional[str], value: Any = None, choices: Any = None)

Value is not among the permissible ones

class fuzzyfields.MissingFieldError(name: Optional[str] = None)

Field is null and required is True, or a dict key (typically a column header) is missing from the value returned by the input DictReader