B
    Zvd                 @   s   d Z dd ZdS )z
The :mod:`imblearn.exceptions` module includes all custom warnings and error
classes and functions used across imbalanced-learn.
c             C   s"   t |  d| dt| ddS )am  Raise consistent error message for isinstance() function.

    Parameters
    ----------
    variable_name : str
        The name of the variable.

    possible_type : type
        The possible type of the variable.

    variable : object
        The variable to check.

    Raises
    ------
    ValueError
        If the instance is not of the possible type.
    z has to be one of z. Got z	 instead.N)
ValueErrortype)Zvariable_nameZpossible_typevariable r   E/var/www/html/venv/lib/python3.7/site-packages/imblearn/exceptions.pyraise_isinstance_error
   s    r   N)__doc__r   r   r   r   r   <module>   s   