Source code for handwriting_features.features.exceptions.validation

[docs] class FeatureNameMissingError(Exception): """Raised when a feature name is missing""" pass
[docs] class FeatureNameInvalidTypeError(Exception): """Raised when a feature name is of invalid type""" pass
[docs] class FeatureNameUnsupportedError(Exception): """Raised when a feature name us not supported""" pass
[docs] class FeatureArgumentMissingError(Exception): """Raised when a mandatory feature argument is missing""" pass
[docs] class FeatureArgumentInvalidTypeError(Exception): """Raised when a mandatory feature argument is of invalid type""" pass
[docs] class FeatureArgumentUnsupportedValueError(Exception): """Raised when a mandatory feature argument has unsupported value""" pass
[docs] class StatisticsForSingleValuedFeatureError(Exception): """Raised when statistics are to be computed for a single-valued feature""" pass