HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //proc/self/root/usr/lib/python3.6/site-packages/yubico/__pycache__/yubico_exception.cpython-36.pyc
3

y@�V��@s>dZdddgZddlmZGdd�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.6/yubico_exception.py�__init__$szYubicoError.__init__cCsd|jjtt|��|jfS)Nz<%s instance at %s: %s>)�	__class__�__name__�hex�idr)rrrr�__str__'s
zYubicoError.__str__N)r�
__module__�__qualname__�__doc__r	rrrrrrscs"eZdZdZd�fdd�	Z�ZS)rzC
    Exception raised for errors in an input to some function.
    �input validation errorcstt|�j|�dS)N)�superrr	)rr)r
rrr	5szInputError.__init__)r)rrrrr	�
__classcell__rr)r
rr1sN)r�__all__Zyubico_versionr�	Exceptionrrrrrr�<module>s