(self, data, expected_types, name='')
Raise exception with unified message
        Parameters
        ----------
        data: :obj:`any`
            real type of the data
        expected_types: :obj:`str`
            expected types inserting directly to the exception
        name: :obj:`str`
            name of the parameter
Raise exception with unified message
        Parameters
        ----------
        data: :obj:`any`
            real type of the data
        expected_types: :obj:`str`
            expected types inserting directly to the exception
        name: :obj:`str`
            name of the parameter
Raise exception with unified message Parameters ---------- data : : obj : any real type of the data expected_types : : obj : str expected types inserting directly to the exception name : : obj : str name of the parameter
def raise_exc(self, data, expected_types, name=''):
        """
        Raise exception with unified message
        Parameters
        ----------
        data: :obj:`any`
            real type of the data
        expected_types: :obj:`str`
            expected types inserting directly to the exception
        name: :obj:`str`
            name of the parameter
        """
        msg = self.msg_template.format(self.func_name, name, data, expected_types)
        raise TypingError(msg)
def raise_exc ( self , data , expected_types , name = '' ) : msg = self . msg_template . format ( self . func_name , name , data , expected_types ) raise TypingError ( msg )