
    i                     0    S r S/r " S S\5      rS rS rg)zJSON decode error class
Errorc                       \ rS rSrSrS rSrg)r      a  Subclass of ValueError with the following additional properties:

msg: The unformatted error message
doc: The JSON document being parsed
pos: The start index of doc where parsing failed
end: The end index of doc where parsing failed (may be None)
lineno: The line corresponding to pos
colno: The column corresponding to pos
endlineno: The line corresponding to end (may be None)
endcolno: The column corresponding to end (may be None)

c                     [         R                  U [        XU5      5        Xl        X l        X0l        [        X#5      u  U l        U l        g )N)	
ValueError__init__errmsgmsgdocposlinecollinenocolno)selfr	   r
   r   s       I/home/james-whalen/.local/lib/python3.13/site-packages/dirtyjson/error.pyr   Error.__init__   s;    D&3"78")#"3TZ    )r   r
   r   r	   r   N)__name__
__module____qualname____firstlineno____doc__r   __static_attributes__ r   r   r   r      s    4r   c                 z    U R                  SSU5      S-   nUS:X  a  US-   nX#4$ XR                  SSU5      -
  nX#4$ )N
       )countrindex)r
   r   r   r   s       r   r   r      sR    YYtQ$q(F{a = jjq#..=r   c           	      n    [        X5      u  p4U R                  S[        XUS-    5      5      n SnXPX4U4-  $ )Nz%rr   z%s: line %d column %d (char %d))r   replacerepr)r	   r
   r   r   r   fmts         r   r   r   &   sA    C%MF
++dDq!12
3C
+Cvc***r   N)r   __all__r   r   r   r   r   r   r   <module>r%      s)    )4J 4,+r   