B
    ÔùÓ`Ø  ã               @   s`   d Z ddl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 )zanyconfig basic data types.
é    Nc                   s>   e Zd ZU dZdZeed< dejej	 dœ‡ fdd„Z
‡  ZS )	Ú	BaseErrorzBase Error exception.zforced_type: {!s}Ú_msg_fmtN)Úargc                s   t ƒ  | j t|ƒ¡¡ d S )N)ÚsuperÚ__init__r   ÚformatÚstr)Úselfr   )Ú	__class__© ú;/tmp/pip-unpacked-wheel-bpftjxoo/anyconfig/common/errors.pyr      s    zBaseError.__init__)N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__annotations__ÚtypingÚOptionalZAnyr   Ú__classcell__r   r   )r
   r   r      s   
r   c               @   s   e Zd ZU dZdZeed< dS )ÚUnknownParserTypeErrorz.Raise if no parsers were found for given type.zNo parser found for type: {!s}r   N)r   r   r   r   r   r   r   r   r   r   r   r      s   
r   c               @   s   e Zd ZdZdS )ÚUnknownProcessorTypeErrorz1Raise if no processors were found for given type.N)r   r   r   r   r   r   r   r   r      s   r   c               @   s   e Zd ZU dZdZeed< dS )ÚUnknownFileTypeErrorz4Raise if not parsers were found for given file path.zNo parser found for file: {!s}r   N)r   r   r   r   r   r   r   r   r   r   r   r      s   
r   c               @   s   e Zd ZU dZdZeed< dS )ÚValidationErrorzRaise if validation failed.zValidation failed: {!s}r   N)r   r   r   r   r   r   r   r   r   r   r   r   !   s   
r   )r   r   ÚRuntimeErrorr   r   r   r   r   r   r   r   r   Ú<module>   s   