File: //opt/cloudlinux/venv/lib64/python3.11/site-packages/flake8/__pycache__/exceptions.cpython-311.pyc
�
    � h6	  �                   �   � d Z  G d� de�  �        Z G d� de�  �        Z G d� de�  �        Z G d� de�  �        Z G d	� d
e�  �        Z G d� de�  �        Zd
S )z$Exception classes for all of Flake8.c                   �   � e Zd ZdZdS )�Flake8ExceptionzPlain Flake8 exception.N��__name__�
__module__�__qualname__�__doc__� �    �F/opt/cloudlinux/venv/lib/python3.11/site-packages/flake8/exceptions.pyr   r      s   � � � � � �!�!�!�!r
   r   c                   �   � e Zd ZdZdS )�	EarlyQuitz4Except raised when encountering a KeyboardInterrupt.Nr   r	   r
   r   r
   r
      s   � � � � � �>�>�>�>r
   r
   c                   �   � e Zd ZdZdS )�ExecutionErrorz,Exception raised during execution of Flake8.Nr   r	   r
   r   r   r      s   � � � � � �6�6�6�6r
   r   c                   �@   � � e Zd ZdZdZdededdf� fd�Zdefd�Z� xZ	S )	�FailedToLoadPluginz-Exception raised when a plugin fails to load.z7Flake8 failed to load plugin "%(name)s" due to %(exc)s.�plugin_name�	exception�returnNc                 �h   �� || _         || _        t          �   �         �                    ||�  �         dS )z,Initialize our FailedToLoadPlugin exception.N�r   �original_exception�super�__init__��selfr   r   �	__class__s      �r   r   zFailedToLoadPlugin.__init__   �3   �� �&���"+���
������i�0�0�0�0�0r
   c                 �0   � | j         | j        | j        d�z  S ��Format our exception message.)�name�exc��FORMATr   r   �r   s    r   �__str__zFailedToLoadPlugin.__str__   �'