235 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__ d/builddir/build/BUILD/cloudlinux-venv-1.0.10/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. Nlineintcolmessage str | NonereturnNonec || _ || _ |d}t | d| j d| j d S )NzTOML parse errorz at line z col )_line_colsuper__init__selfr r r __class__s r r zParseError.__init__ sS ?(G GJJdjJJtyJJKKKKKr c | j S N)r r s r r zParseError.line s zr c | j S r )r r s r r zParseError.col s yr 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 fdZ 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 arrayr r r r s r r zMixedArrayTypesError.__init__( s- . sG44444r r r r r r r r r r r# r r% r&