+
    b   c                   s   ^ RI Ht  ! R R]4      t] ! R R]4      4       t] ! R R]4      4       t] ! R R	]4      4       t] ! R
 R]4      4       t] ! R R]4      4       t] ! R R]4      4       t	 ! R R]4      t
 ! R R]4      tR# )i    )with_str_methodc                   s    ] tR t^tRtR# )JMESPathError N__name__
__module____qualname____firstlineno____static_attributes__r       8/usr/lib/python3.14/site-packages/jmespath/exceptions.pyr   r          r	   r   c                   sB   a a ] tR t^t oRt]3V 3R lltR tRtVtV ;t	# )
ParseErrorzInvalid jmespath expressionc                s   < \         \        V `  WV4       Wn        W n        VP                  4       V n        W@n        R V n        R # N)	superr   __init__lex_positiontoken_valueZupper
token_typemsg
expression)selfr   r   r   r   	__class__   &&&&&r
   r   ZParseError.__init__   s<    j$(JO(&$**,r	   c                s    R V P                   ^,           ,          R,           pV P                  : RV P                   : RV P                  : RV P                  : RV P                  : RV: 2# ) ^z: Parse error at column z	, token "z" (z), for expression:
""
)r   r   r   r   r   r   Z	underline   & r
   __str__ZParseError.__str__   sN    4,,q01C7	 $++T-=-=t,	-r	   )r   r   r   r   r   )
r   r   r   r   Z_ERROR_MESSAGEr   r   r   __classdictcell____classcell__r   __classdict__   @@r
   r   r      s     2N#- -r	   r   c                   s,   a  ] tR t^t o R tR tRtV tR# )IncompleteExpressionErrorc                sN    Wn         \        V4      V n        R V n        R V n        R # r   )r   Zlenr   r   r   )r   r   s   &&r
   set_expressionZ(IncompleteExpressionError.set_expression!   s"    $
Or	   c                sl    R V P                   ^,           ,          R,           pRV P                  : RV: 2# )r   r   z5Invalid jmespath expression: Incomplete expression:
"r   )r   r   r   r   r
   r   Z!IncompleteExpressionError.__str__'   s1    4,,q01C7	 //96	7r	   )r   r   r   r   N)r   r   r   r   r$   r   r   r   r!      @r
   r#   r#      s      7 7r	   r#   c                   s<   a a ] tR t^/t oRV 3R lltR tRtVtV ;t# )
LexerErrorc                sb   < Wn         W n        W0n        \        \        V `  VVV4       W@n        R # r   )lexer_positionlexer_valuemessager   r'   r   r   )r   r(   r)   r*   r   r   r   r
   r   ZLexerError.__init__1   s2    ,&j$()4)0	2 %r	   c                sz    R V P                   ,          R,           pRV P                  : RV P                  : RV: 2# )r   r   zBad jmespath expression: z:
Z
)r(   r*   r   r   r   r
   r   ZLexerError.__str__;   s0    $---3	LL$//96 	6r	   )r   r(   r)   r*   r   )	r   r   r   r   r   r   r   r   r   r    r"   r
   r'   r'   /   s     %6 6r	   r'   c                   s2   a  ] tR t^At o R tR tR tRtV tR# )
ArityErrorc                s8    Wn         W n        W0n        R V n        R # r   )expected_arityactual_arityfunction_namer   )r   ZexpectedZactualZnames   &&&&r
   r   ZArityError.__init__C   s    &"!r	   c                    R V P                   : RV P                  RV P                   4      : RV P                  : RV P                  : 2# )z	Expected r   argument for function (), received r,   
_pluralizer.   r-   r      &r
   r   ZArityError.__str__I   =     ''OOJ0C0CD&&%%' 	(r	   c                s&    V^8X  d   V# VR,           # )i   Zsr   )r   ZwordZcounts   &&&r
   r4   ZArityError._pluralizeQ   s    A:K#:r	   )r-   r,   r   r.   N)	r   r   r   r   r   r   r4   r   r   r%   r&   r
   r+   r+   A   s     ( r	   r+   c                   s&   a  ] tR t^Xt o R tRtV tR# )VariadictArityErrorc                r/   )zExpected at least r   r0   r1   r2   r3   r5   r6   r
   r   ZVariadictArityError.__str__Z   r7   r	   r   N)r   r   r   r   r   r   r   r%   r&   r
   r8   r8   X   s     ( (r	   r8   c                   s,   a  ] tR t^ct o R tR tRtV tR# )JMESPathTypeErrorc                s6    Wn         W n        W0n        W@n        R # r   )r.   current_valueactual_typeexpected_types)r   r.   r:   r;   r<   s   &&&&&r
   r   ZJMESPathTypeError.__init__e   s    **&,r	   c           	     sx    R V P                   : RV P                  : RV P                  : RV P                  : R2	# )zIn function z(), invalid type for value: z, expected one of: z, received: "Z")r.   r:   r<   r;   r5   r6   r
   r   ZJMESPathTypeError.__str__l   s0     &&(:(:'')9)9; 	<r	   )r;   r:   r<   r.   N)r   r   r   r   r   r   r   r   r%   r&   r
   r9   r9   c   s     -< <r	   r9   c                   s2   a a ] tR t^st oV 3R ltRtVtV ;t# )EmptyExpressionErrorc                s.   < \         \        V `  R 4       R# )z-Invalid JMESPath expression: cannot be empty.N)r   r=   r   )r   r   s   &r
   r   ZEmptyExpressionError.__init__t   s    "D2;	=r	   r   )r   r   r   r   r   r   r   r   r    r"   r
   r=   r=   s   s     = =r	   r=   c                   s    ] tR t^ytRtR# )UnknownFunctionErrorr   Nr   r   r	   r
   r>   r>   y   r   r	   r>   N)Zjmespath.compatr    Z
ValueErrorr   r   r#   r'   r+   r8   r9   r=   r>   r   r	   r
   <module>r?      s    +	J 	 - - -, 7
 7 7 6 6 6"   , (* ( ( < < <== =	= 	r	   