o
    S`                     @   sh   d 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 )a  You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/c                   @   s   e Zd Zdd Zdd ZdS )ConfigurationErrorc                 C   
   || _ d S Nmsg)selfr    r   7/usr/lib/python3/dist-packages/compose/config/errors.py__init__      
zConfigurationError.__init__c                 C   s   | j S r   r   )r   r   r   r   __str__   s   zConfigurationError.__str__N)__name__
__module____qualname__r	   r   r   r   r   r   r   
   s    r   c                   @      e Zd ZdS )EnvFileNotFoundNr   r   r   r   r   r   r   r          r   c                   @   r   )DependencyErrorNr   r   r   r   r   r      r   r   c                   @   s    e Zd Zdd Zedd ZdS )CircularReferencec                 C   r   r   )trail)r   r   r   r   r   r	      r
   zCircularReference.__init__c                 C   s    dd | j D }dd|S )Nc                 S   s   g | ]
\}}d  ||qS )z{} in {})format).0filenameservice_namer   r   r   
<listcomp>    s    
z)CircularReference.msg.<locals>.<listcomp>zCircular reference:
  {}z
  extends )r   r   join)r   linesr   r   r   r      s   zCircularReference.msgN)r   r   r   r	   propertyr   r   r   r   r   r      s    r   c                          e Zd Z fddZ  ZS )ComposeFileNotFoundc                    s   t  dd|  d S )Nz
        Can't find a suitable configuration file in this directory or any
        parent. Are you in the right directory?

        Supported filenames: %s
        , )superr	   r   )r   supported_filenames	__class__r   r   r	   (   s   
zComposeFileNotFound.__init__r   r   r   r	   __classcell__r   r   r#   r   r   '       r   c                       r   )DuplicateOverrideFileFoundc                    s"   || _ t dd| d S )NzKMultiple override files found: {}. You may only use a single override file.r    )override_filenamesr!   r	   r   r   )r   r)   r#   r   r   r	   2   s
   z#DuplicateOverrideFileFound.__init__r%   r   r   r#   r   r(   1   r'   r(   N)VERSION_EXPLANATION	Exceptionr   r   r   r   r   r(   r   r   r   r   <module>   s   	
