def error ( self, object, name, value ):
        raise TraitError( object, name, self.full_info( object, name, value ),
                          value )
Raises a TraitError exception.
dataset/ETHPy150Open enthought/traits/traits/trait_handlers.py/BaseTraitHandler.error