관리-도구
편집 파일: exceptions.cpython-311.pyc
� �܋fo � �8 � d dl mZ d dlmZ G d� de� � Z G d� dee� � Z G d� de� � Z G d � d e� � Z G d� de� � Z G d � de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� d e� � Z G d!� d"ee� � Z G d#� d$e� � Z G d%� d&e� � Z G d'� d(ee� � Zd)S )*� )�annotations)� Collectionc � � e Zd ZdS )�TOMLKitErrorN)�__name__� __module__�__qualname__� � �c/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/tomlkit/exceptions.pyr r s � � � � � ��Dr r c �R � � e Zd ZdZd d� fd � Zed� � � Zed� � � Z� xZS )� ParseErrorz� This error occurs when the parser encounters a syntax error in the TOML being parsed. The error references the line and location within the line where the error was encountered. N�line�int�col�message� str | None�return�Nonec � �� || _ || _ |�d}t � � � |� d| j � d| j � �� � d S )NzTOML parse errorz at line z col )�_line�_col�super�__init__��selfr r r � __class__s �r r zParseError.__init__ sS �� ��� ��� ��?�(�G� �����G�J�J�d�j�J�J�t�y�J�J�K�K�K�K�Kr c � � | j S �N)r �r s r r zParseError.line s � ��z�r c � � | j S r )r r s r r zParseError.col s � ��y�r r �r r r r r r r r ) r r r �__doc__r �propertyr r � __classcell__�r s @r r r s� �� � � � � �� �L� L� L� L� L� L� L� �� � �X�� �� � �X�� � � � r r c �$ � � e Zd ZdZd� fd�Z� xZS ) �MixedArrayTypesErrorz@ An array was found that had two or more element types. r r r r r c �T �� d}t � � � |||�� � d S )NzMixed types found in array�r �r r r s �r r zMixedArrayTypesError.__init__( s- �� �.�� ������s�G��4�4�4�4�4r �r r r r r r �r r r r# r r% r&