Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pyasn1/__pycache__/error.cpython-39.pyc
Ðазад
a d�h� � @ s� G d d� de �ZG dd� de�ZG dd� de�ZG dd� de�ZG dd � d e�ZG d d� dee�ZG dd � d ee�Z G dd� dee �ZdS )c @ s$ e Zd ZdZdd� Zedd� �ZdS )�PyAsn1ErroraB Base pyasn1 exception `PyAsn1Error` is the base exception class (based on :class:`Exception`) that represents all possible ASN.1 related errors. Parameters ---------- args: Opaque positional parameters Keyword Args ------------ kwargs: Opaque keyword parameters c O s || _ || _d S �N)�_args�_kwargs)�self�args�kwargs� r �|/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/pyasn1/error.py�__init__ s zPyAsn1Error.__init__c C s | j �di �S )a7 Return exception context When exception object is created, the caller can supply some opaque context for the upper layers to better understand the cause of the exception. Returns ------- : :py:class:`dict` Dict holding context specific data �context)r �get)r r r r r s zPyAsn1Error.contextN)�__name__� __module__�__qualname__�__doc__r �propertyr r r r r r s r c @ s e Zd ZdZdS )�ValueConstraintErrora ASN.1 type constraints violation exception The `ValueConstraintError` exception indicates an ASN.1 value constraint violation. It might happen on value object instantiation (for scalar types) or on serialization (for constructed types). N�r r r r r r r r r / s r c @ s e Zd ZdZdS )�SubstrateUnderrunErrorz�ASN.1 data structure deserialization error The `SubstrateUnderrunError` exception indicates insufficient serialised data on input of a de-serialization codec. Nr r r r r r : s r c @ s e Zd ZdZdS )�EndOfStreamErrorz�ASN.1 data structure deserialization error The `EndOfStreamError` exception indicates the condition of the input stream has been closed. Nr r r r r r B s r c @ s e Zd ZdZdS )�UnsupportedSubstrateErrorz2Unsupported substrate type to parse as ASN.1 data.Nr r r r r r J s r c @ s e Zd ZdZddd�ZdS )�PyAsn1UnicodeErrora. Unicode text processing error The `PyAsn1UnicodeError` exception is a base class for errors relating to unicode text de/serialization. Apart from inheriting from :class:`PyAsn1Error`, it also inherits from :class:`UnicodeError` to help the caller catching unicode-related errors. Nc C s. t |t�rtj| g|j�R � t�| |� d S r )� isinstance�UnicodeErrorr r r )r �messageZ unicode_errorr r r r W s zPyAsn1UnicodeError.__init__)N)r r r r r r r r r r N s r c @ s e Zd ZdZdS )�PyAsn1UnicodeDecodeErrora/ Unicode text decoding error The `PyAsn1UnicodeDecodeError` exception represents a failure to deserialize unicode text. Apart from inheriting from :class:`PyAsn1UnicodeError`, it also inherits from :class:`UnicodeDecodeError` to help the caller catching unicode-related errors. Nr r r r r r ] s r c @ s e Zd ZdZdS )�PyAsn1UnicodeEncodeErrora- Unicode text encoding error The `PyAsn1UnicodeEncodeError` exception represents a failure to serialize unicode text. Apart from inheriting from :class:`PyAsn1UnicodeError`, it also inherits from :class:`UnicodeEncodeError` to help the caller catching unicode-related errors. Nr r r r r r i s r N)� Exceptionr r r r r r r �UnicodeDecodeErrorr �UnicodeEncodeErrorr r r r r �<module> s &
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка