
    Ve                         d Z ddlmZ g dZ G d de      Z G d de      Z G d d	e      Z G d
 de      Z G d de      Z	y)z& Exceptions for specific eido issues.     )ABCMeta)EidoFilterErrorEidoSchemaInvalidErrorEidoValidationErrorPathAttrNotFoundErrorc                       e Zd ZdZeZy)EidoExceptionz$Base type for custom package errors.N)__name__
__module____qualname____doc__r   __metaclass__     /lib/python3.12/site-packages/eido/exceptions.pyr	   r	      s
    .Mr   r	   c                   "     e Zd ZdZ fdZ xZS )r   z"Path-like argument does not exist.c                 ,    t         t        |   |       y N)superr   __init__selfkey	__class__s     r   r   zPathAttrNotFoundError.__init__   s    #T3C8r   r
   r   r   r   r   __classcell__r   s   @r   r   r      s    ,9 9r   r   c                   "     e Zd ZdZ fdZ xZS )r   z5Schema does not comply to eido-specific requirements.c                 ,    t         t        |   |       y r   )r   r   r   r   s     r   r   zEidoSchemaInvalidError.__init__   s    $d4S9r   r   r   s   @r   r   r      s    ?: :r   r   c                   "     e Zd ZdZ fdZ xZS )r   zIssue with the PEP filter.c                 ,    t         t        |   |       y r   )r   r   r   r   s     r   r   zEidoFilterError.__init__$   s    ot-c2r   r   r   s   @r   r   r   !   s    $3 3r   r   c                   (     e Zd ZdZ fdZd Z xZS )r   z:Object was not validated successfully according to schema.c                 @    t         |   |       || _        || _        y r   )r   r   errors_by_typemessage)r   r%   r$   r   s      r   r   zEidoValidationError.__init__+   s    !,r   c                 :    d| j                    d| j                   S )NzEidoValidationError (z): )r%   r$   )r   s    r   __str__zEidoValidationError.__str__0   s     &t||nC8K8K7LMMr   )r
   r   r   r   r   r'   r   r   s   @r   r   r   (   s    D
Nr   r   N)
r   abcr   _all__	Exceptionr	   r   r   r   r   r   r   r   <module>r+      sP    , 
I 9M 9:] :3m 3	N- 	Nr   