HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/thread-self/root/lib/python3/dist-packages/nacl/__pycache__/exceptions.cpython-38.pyc
U

�֫[B�@s�ddlmZmZmZGdd�de�ZGdd�de�ZGdd�dee�ZGdd	�d	ee�ZGd
d�de	e�Z	Gdd
�d
e
e�Z
Gdd�de�Zdd�ZdS)�)�absolute_import�division�print_functionc@seZdZdZdS)�CryptoErrorz4
    Base exception for all nacl related errors
    N��__name__�
__module__�__qualname__�__doc__�rr�1/usr/lib/python3/dist-packages/nacl/exceptions.pyrsrc@seZdZdZdS)�BadSignatureErrorzD
    Raised when the signature was forged or otherwise corrupt.
    Nrrrrrr
sr
c@seZdZdS)�RuntimeErrorN�rrr	rrrrrsrc@seZdZdS)�AssertionErrorNrrrrrr"src@seZdZdS)�	TypeErrorNrrrrrr&src@seZdZdS)�
ValueErrorNrrrrrr*src@seZdZdS)�InvalidkeyErrorNrrrrrr.srcOsFd}|�dt�}|r.t|�t|��d����|dkr:dS||��dS)a�
    Return if a condition is true, otherwise raise a caller-configurable
    :py:class:`Exception`
    :param bool cond: the condition to be checked
    :param sequence args: the arguments to be passed to the exception's
                          constructor
    The only accepted named parameter is `raising` used to configure the
    exception to be raised if `cond` is not `True`
    z8check_condition() got an unexpected keyword argument {0}�raisingrTN)�poprr�format�repr�popitem)Zcond�args�kwdsZ
_CHK_UNEXPrrrr�ensure2s
rN)
Z
__future__rrr�	Exceptionrr
rrrrrrrrrr�<module>s