ó
    †>iP  ã                  ór  • S r SSKJr  SSKJrJr  SSKrSSKJr  \(       a  SSK	J
r
  SSKJr  \ " S S	\5      5       r\ " S
 S\5      5       r\ " S S\5      5       r\ " S S\5      5       r\R                   " S S\5      5       r\ " S S\5      5       r\ " S S\5      5       r\ " S S\5      5       rg)z
Errors, oh no!
é    )Úannotations)ÚTYPE_CHECKINGÚAnyN)Úfrozen)ÚResource)ÚURIc                  ó8   • \ rS rSr% SrS\S'   S	S jrS
S jrSrg)ÚNoSuchResourceé   z«
The given URI is not present in a registry.

Unlike most exceptions, this class *is* intended to be publicly
instantiable and *is* part of the public API of the package.
r   Úrefc                óš   • U R                   UR                   La  [        $ [        R                  " U 5      [        R                  " U5      :H  $ ©N©Ú	__class__ÚNotImplementedÚattrsÚastuple©ÚselfÚothers     ÚS/home/mande/repo/quber/.venv/lib/python3.13/site-packages/referencing/exceptions.pyÚ__eq__ÚNoSuchResource.__eq__   ó5   € Ø�>‰> §¡Ò0Ü!Ð!Ü�}Š}˜TÓ"¤e§m¢m°EÓ&:Ñ:Ð:ó    c                ó@   • [        [        R                  " U 5      5      $ r   ©Úhashr   r   ©r   s    r   Ú__hash__ÚNoSuchResource.__hash__"   ó   € Ü”E—M’M $Ó'Ó(Ð(r   © N©r   ÚobjectÚreturnÚbool©r&   Úint©	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__annotations__r   r    Ú__static_attributes__r#   r   r   r
   r
      s   ‡ ñð 
ƒHô;÷
)r   r
   c                  ó8   • \ rS rSr% SrS\S'   S	S jrS
S jrSrg)ÚNoInternalIDé&   a
  
A resource has no internal ID, but one is needed.

E.g. in modern JSON Schema drafts, this is the :kw:`$id` keyword.

One might be needed if a resource was to-be added to a registry but no
other URI is available, and the resource doesn't declare its canonical URI.
úResource[Any]Úresourcec                óš   • U R                   UR                   La  [        $ [        R                  " U 5      [        R                  " U5      :H  $ r   r   r   s     r   r   ÚNoInternalID.__eq__3   r   r   c                ó@   • [        [        R                  " U 5      5      $ r   r   r   s    r   r    ÚNoInternalID.__hash__8   r"   r   r#   Nr$   r(   r*   r#   r   r   r3   r3   &   s   ‡ ñð Óô;÷
)r   r3   c                  ó8   • \ rS rSr% SrS\S'   S	S jrS
S jrSrg)ÚUnretrievableé<   zG
The given URI is not present in a registry, and retrieving it failed.
r   r   c                óš   • U R                   UR                   La  [        $ [        R                  " U 5      [        R                  " U5      :H  $ r   r   r   s     r   r   ÚUnretrievable.__eq__D   r   r   c                ó@   • [        [        R                  " U 5      5      $ r   r   r   s    r   r    ÚUnretrievable.__hash__I   r"   r   r#   Nr$   r(   r*   r#   r   r   r<   r<   <   ó   ‡ ñð 
ƒHô;÷
)r   r<   c                  ó8   • \ rS rSr% SrS\S'   S	S jrS
S jrSrg)ÚCannotDetermineSpecificationéM   zµ
Attempting to detect the appropriate `Specification` failed.

This happens if no discernible information is found in the contents of the
new resource which would help identify it.
r   Úcontentsc                óš   • U R                   UR                   La  [        $ [        R                  " U 5      [        R                  " U5      :H  $ r   r   r   s     r   r   Ú#CannotDetermineSpecification.__eq__X   r   r   c                ó@   • [        [        R                  " U 5      5      $ r   r   r   s    r   r    Ú%CannotDetermineSpecification.__hash__]   r"   r   r#   Nr$   r(   r*   r#   r   r   rD   rD   M   s   ‡ ñð ƒMô;÷
)r   rD   c                  ó8   • \ rS rSr% SrS\S'   S	S jrS
S jrSrg)ÚUnresolvableéa   z
A reference was unresolvable.
r   r   c                óš   • U R                   UR                   La  [        $ [        R                  " U 5      [        R                  " U5      :H  $ r   r   r   s     r   r   ÚUnresolvable.__eq__i   r   r   c                ó@   • [        [        R                  " U 5      5      $ r   r   r   s    r   r    ÚUnresolvable.__hash__n   r"   r   r#   Nr$   r(   r*   r#   r   r   rL   rL   a   rB   r   rL   c                  ó.   • \ rS rSr% SrS\S'   SS jrSrg)	ÚPointerToNowhereér   zC
A JSON Pointer leads to a part of a document that does not exist.
r5   r6   c                ó~   • U R                   < SU R                  R                  < 3nU R                   S:X  a  US-  nU$ )Nú does not exist within Ú/zœ. The pointer '/' is a valid JSON Pointer but it points to an empty string property ''. If you intended to point to the entire resource, you should use '#'.)r   r6   rF   )r   Úmsgs     r   Ú__str__ÚPointerToNowhere.__str__z   sC   € Ø—‘‘Ð3°D·M±M×4JÑ4JÑ3MÐNˆØ�8‰8�s‹?Øð>ñˆCð
 ˆ
r   r#   N©r&   Ústr©r+   r,   r-   r.   r/   r0   rY   r1   r#   r   r   rS   rS   r   s   ‡ ñð Ó÷r   rS   c                  ó8   • \ rS rSr% SrS\S'   S\S'   S
S jrSrg	)ÚNoSuchAnchoré…   z8
An anchor does not exist within a particular resource.
r5   r6   r\   Úanchorc                óP   • U R                   < SU R                  R                  < 3$ )NrV   )ra   r6   rF   r   s    r   rY   ÚNoSuchAnchor.__str__Ž   s%   € à�{‰{‰oÐ4°T·]±]×5KÑ5KÑ4NÐOð	
r   r#   Nr[   r]   r#   r   r   r_   r_   …   s   ‡ ñð ÓØƒK÷
r   r_   c                  ó8   • \ rS rSr% SrS\S'   S\S'   S
S jrSrg	)ÚInvalidAnchoré”   zi
An anchor which could never exist in a resource was dereferenced.

It is somehow syntactically invalid.
r5   r6   r\   ra   c                ó<   • SU R                    SU R                    S3$ )Nz'#zo' is not a valid anchor, neither as a plain name anchor nor as a JSON Pointer. You may have intended to use '#/zD', as the slash is required *before each segment* of a JSON pointer.)ra   r   s    r   rY   ÚInvalidAnchor.__str__Ÿ   s*   € à�—‘�ð àŸ™˜ð &*ð*ð	
r   r#   Nr[   r]   r#   r   r   re   re   ”   s   ‡ ñð ÓØƒK÷
r   re   )r/   Ú
__future__r   Útypingr   r   r   Úreferencing._attrsr   Úreferencingr   Úreferencing.typingr   ÚKeyErrorr
   Ú	Exceptionr3   r<   rD   rL   rS   r_   re   r#   r   r   Ú<module>rp      sý   ðñõ #ç %ã å %æÝ$Ý&ð ô)�Xó )ó ð)ð& ô)�9ó )ó ð)ð* ô)�Hó )ó ð)ð  ô) 9ó )ó ð)ð& ‡�ô)�9ó )ó ð)ð  ô�|ó ó ðð$ ô
�<ó 
ó ð
ð ô
�Ló 
ó ñ
r   