HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/CyberCP/lib/python3.10/site-packages/nacl/__pycache__/exceptions.cpython-310.pyc
o

�h�	�@s�ddlZddlmZGdd�de�ZGdd�de�ZGdd�deje�ZGd	d
�d
eje�ZGdd�deje�ZGd
d�dej	e�Z	Gdd�de�Z
Gdd�de
�ZGdd�de�Zde
dedeeddfdd�ZdS)�N)�Typec@�eZdZdZdS)�CryptoErrorz4
    Base exception for all nacl related errors
    N��__name__�
__module__�__qualname__�__doc__�r
r
�B/usr/local/CyberCP/lib/python3.10/site-packages/nacl/exceptions.pyr�rc@r)�BadSignatureErrorzD
    Raised when the signature was forged or otherwise corrupt.
    Nrr
r
r
rr
rr
c@�eZdZdS)�RuntimeErrorN�rrrr
r
r
rr$�rc@r)�AssertionErrorNrr
r
r
rr(rrc@r)�	TypeErrorNrr
r
r
rr,rrc@r)�
ValueErrorNrr
r
r
rr0rrc@r)�InvalidkeyErrorNrr
r
r
rr4rrc@r)�CryptPrefixErrorNrr
r
r
rr8rrc@r)�UnavailableErrorz�
    is a subclass of :class:`~nacl.exceptions.RuntimeError`, raised when
    trying to call functions not available in a minimal build of
    libsodium.
    Nrr
r
r
rr<sr�cond�args�kwds�returncOsBd}|�dt�}|rt|�t|��d����|durdS||��)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)rrr�
_CHK_UNEXPrr
r
r�ensureFs
r")�builtins�typingr�	Exceptionrr
rrrrrrr�bool�objectr"r
r
r
r�<module>s"