o
    ÊtBh‡  ã                   @   s\   d Z dZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd	„ d	eƒZG d
d„ deƒZdS )zbarcode.errorszrestructuredtext enc                   @   s   e Zd Zdd„ Zdd„ ZdS )ÚBarcodeErrorc                 C   s
   || _ d S ©N©Úmsg)Úselfr   © r   úe/var/www/html/riverr-enterprise-integrations-main/venv/lib/python3.10/site-packages/barcode/errors.pyÚ__init__   s   
zBarcodeError.__init__c                 C   s   | j S r   r   )r   r   r   r   Ú__str__	   s   zBarcodeError.__str__N)Ú__name__Ú
__module__Ú__qualname__r   r	   r   r   r   r   r      s    r   c                   @   ó   e Zd ZdZdS )ÚIllegalCharacterErrorz9Raised when a barcode-string contains illegal characters.N©r
   r   r   Ú__doc__r   r   r   r   r      ó    r   c                   @   r   )ÚBarcodeNotFoundErrorz,Raised when an unknown barcode is requested.Nr   r   r   r   r   r      r   r   c                   @   r   )ÚNumberOfDigitsErrorz.Raised when the number of digits do not match.Nr   r   r   r   r   r      r   r   c                   @   r   )ÚWrongCountryCodeErrorzWRaised when a JAN (Japan Article Number) don't starts with 450-459
    or 490-499.
    Nr   r   r   r   r   r      r   r   N)r   Ú__docformat__Ú	Exceptionr   r   r   r   r   r   r   r   r   Ú<module>   s    