

__all__ = (
    'FieldError',
    'FieldIsRequired',
    'FieldIsInvalid',
    'FieldNotDefined'
)


class FieldError(AttributeError):
    name = 'field_error'


class FieldIsRequired(AttributeError):
    name = 'attribute_is_required'


class FieldIsInvalid(AttributeError):
    name = 'attribute_is_invalid'


class FieldNotDefined(AttributeError):
    name = 'attribute_not_defined'
