o
    ÖtBhˆ  ã                   @   sŒ   d dl mZmZmZ d dlZg d¢Z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 )é    )ÚdivisionÚabsolute_importÚprint_functionN)ÚConfigErrorÚNotFoundErrorÚConfigValueErrorÚConfigTypeErrorÚConfigTemplateErrorÚConfigReadErrorz0found character '\t' that cannot start any tokenc                   @   ó   e Zd ZdZdS )r   zDBase class for exceptions raised when querying a configuration.
    N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r   r   úi/var/www/html/riverr-enterprise-integrations-main/venv/lib/python3.10/site-packages/confuse/exceptions.pyr      ó    r   c                   @   r   )r   zEA requested value could not be found in the configuration trees.
    Nr   r   r   r   r   r      r   r   c                   @   r   )r   z*The value in the configuration is illegal.Nr   r   r   r   r   r      r   r   c                   @   r   )r   zDThe value in the configuration did not match the expected type.
    Nr   r   r   r   r   r      r   r   c                   @   r   )r	   zEBase class for exceptions raised because of an invalid template.
    Nr   r   r   r   r   r	   !   r   r	   c                       s"   e Zd ZdZd‡ fdd„	Z‡  ZS )r
   z)A configuration source could not be read.Nc                    sv   || _ || _d |¡}t|tjjƒr(|jtkr(|d |j	j
d |j	jd ¡7 }n	|r1|d |¡7 }tt| ƒ |¡ d S )Nz{0} could not be readz-: found tab character at line {0}, column {1}é   z: {0})ÚnameÚreasonÚformatÚ
isinstanceÚyamlÚscannerÚScannerErrorÚproblemÚYAML_TAB_PROBLEMÚproblem_markÚlineÚcolumnÚsuperr
   Ú__init__)Úselfr   r   Úmessage©Ú	__class__r   r   r"   (   s   



þzConfigReadError.__init__)N)r   r   r   r   r"   Ú__classcell__r   r   r%   r   r
   &   s    r
   )Ú
__future__r   r   r   r   Ú__all__r   Ú	Exceptionr   r   r   r   r	   r
   r   r   r   r   Ú<module>   s    