HEX
Server: LiteSpeed
System: Linux shams.tasjeel.ae 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User: infowars (1469)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/yubico/__pycache__/yubico_exception.cpython-39.opt-1.pyc
a

�w\��@s<dZgd�ZddlmZGdd�de�ZGdd�de�ZdS)	a
class for exceptions used in the other Yubico modules

All exceptions raised by the different Yubico modules are inherited
from the base class YubicoError. That means you can trap them all,
without knowing the details, with code like this :

    try:
        # something Yubico related
    except yubico.yubico_exception.YubicoError as inst:
        print "ERROR: %s" % inst.reason
)�YubicoError�
InputErrorZYubiKeyTimeout�)�__version__c@s eZdZdZdd�Zdd�ZdS)rz}
    Base class for Yubico exceptions in the yubico package.

    Attributes:
        reason -- explanation of the error
    cCs
||_dS�N)�reason��selfr�r	�;/usr/lib/python3.9/site-packages/yubico/yubico_exception.py�__init__$szYubicoError.__init__cCsd|jjtt|��|jfS)Nz<%s instance at %s: %s>)�	__class__�__name__�hex�idr)rr	r	r
�__str__'s

�zYubicoError.__str__N)r
�
__module__�__qualname__�__doc__rrr	r	r	r
rsrcs"eZdZdZd�fdd�	Z�ZS)rzC
    Exception raised for errors in an input to some function.
    �input validation errorcstt|��|�dSr)�superrrr�rr	r
r5szInputError.__init__)r)r
rrrr�
__classcell__r	r	rr
r1srN)r�__all__Zyubico_versionr�	Exceptionrrr	r	r	r
�<module>s