B
    ¤dÝS¦  ã               @   s´   G d d„ de ƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd	„ d	eƒZG d
d„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZ	G dd„ deƒZ
G dd„ deƒZdS )c               @   s   e Zd ZdZdS )Ú	RopeErrorzBase exception for ropeN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r   r   ú3lib/python3.7/site-packages/rope/base/exceptions.pyr      s   r   c               @   s   e Zd ZdZdS )ÚResourceNotFoundErrorzResource not found exceptionN)r   r   r   r   r   r   r   r   r      s   r   c               @   s   e Zd ZdZdS )ÚRefactoringErrorz#Errors for performing a refactoringN)r   r   r   r   r   r   r   r   r	   	   s   r	   c               @   s   e Zd ZdZdS )ÚInterruptedTaskErrorzThe task has been interruptedN)r   r   r   r   r   r   r   r   r
      s   r
   c               @   s   e Zd ZdZdS )ÚHistoryErrorz'Errors for history undo/redo operationsN)r   r   r   r   r   r   r   r   r      s   r   c               @   s   e Zd ZdZdS )ÚModuleNotFoundErrorzModule not found exceptionN)r   r   r   r   r   r   r   r   r      s   r   c               @   s   e Zd ZdZdS )ÚAttributeNotFoundErrorzAttribute not found exceptionN)r   r   r   r   r   r   r   r   r      s   r   c               @   s   e Zd ZdZdS )ÚNameNotFoundErrorzName not found exceptionN)r   r   r   r   r   r   r   r   r      s   r   c               @   s   e Zd ZdZdS )ÚBadIdentifierErrorzThe name cannot be resolvedN)r   r   r   r   r   r   r   r   r   !   s   r   c                   s    e Zd ZdZ‡ fdd„Z‡  ZS )ÚModuleSyntaxErrorzqModule has syntax errors

    The `filename` and `lineno` fields indicate where the error has
    occurred.

    c                s0   || _ || _|| _tt| ƒ d|||f ¡ d S )Nz'Syntax error in file <%s> line <%s>: %s)ÚfilenameÚlinenoÚmessage_Úsuperr   Ú__init__)Úselfr   r   Úmessage)Ú	__class__r   r   r   -   s    
zModuleSyntaxError.__init__)r   r   r   r   r   Ú__classcell__r   r   )r   r   r   %   s   r   c                   s    e Zd ZdZ‡ fdd„Z‡  ZS )ÚModuleDecodeErrorzCannot decode modulec                s(   || _ || _tt| ƒ d||f ¡ d S )NzCannot decode file <%s>: %s)r   r   r   r   r   )r   r   r   )r   r   r   r   9   s    
zModuleDecodeError.__init__)r   r   r   r   r   r   r   r   )r   r   r   6   s   r   N)Ú	Exceptionr   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   Ú<module>   s   