⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.177
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.9
/
site-packages
/
gpg
/
__pycache__
/
View File Name :
errors.cpython-39.pyc
a eö\c ã @ s d dl mZmZmZ ddlmZ ddlmZ [[[dZdZe de ƒ ¡ [G dd„ deƒZG d d „ d eƒZ d!dd„ZG d d„ de eƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd „ d eƒZdS )"é )Úabsolute_importÚprint_functionÚunicode_literalsé )Úgpgme)ÚutilNZGPG_ERR_c @ sR e Zd ZdZddd„Zedd„ ƒZedd„ ƒZed d „ ƒZedd„ ƒZ d d„ Z dS )ÚGpgErrora> A GPG Error This is the base of all errors thrown by this library. If the error originated from GPGME, then additional information can be found by looking at 'code' for the error code, and 'source' for the errors origin. Suitable constants for comparison are defined in this module. 'code_str' and 'source_str' are human-readable versions of the former two properties. If 'context' is not None, then it contains a human-readable hint as to where the error originated from. If 'results' is not None, it is a tuple containing results of the operation that failed. The tuples elements are the results of the function that raised the error. Some operations return results even though they signal an error. Of course this information must be taken with a grain of salt. But often, this information is useful for diagnostic uses or to give the user feedback. Since the normal control flow is disrupted by the exception, the callee can no longer return results, hence we attach them to the exception objects. Nc C s || _ || _|| _d S ©N)ÚerrorÚcontextÚresults)Úselfr r r © r ú0/usr/lib64/python3.9/site-packages/gpg/errors.pyÚ__init__= s zGpgError.__init__c C s | j d u rd S t | j ¡S r )r r Zgpgme_err_code©r r r r ÚcodeB s z GpgError.codec C s | j d u rd S t | j ¡S r )r r Úgpgme_strerrorr r r r Úcode_strH s zGpgError.code_strc C s | j d u rd S t | j ¡S r )r r Zgpgme_err_sourcer r r r ÚsourceN s zGpgError.sourcec C s | j d u rd S t | j ¡S r )r r Zgpgme_strsourcer r r r Ú source_strT s zGpgError.source_strc C sF g }| j d ur| | j ¡ | jd ur<| | j¡ | | j¡ d |¡S )Nz: )r Úappendr r r Újoin)r Zmsgsr r r Ú__str__Z s zGpgError.__str__)NNN)Ú__name__Ú __module__Ú__qualname__Ú__doc__r Úpropertyr r r r r r r r r r # s r c @ s@ e Zd ZdZedd„ ƒZedd„ ƒZdd„ Zdd „ Z d d„ Z dS ) Ú GPGMEErrorzßGeneric error This is a generic error that wraps the underlying libraries native error type. It is thrown when the low-level API is invoked and returns an error. This is the error that was used in PyME. c C s | t ¡ ƒS r )r Zgpgme_err_code_from_syserror)Úclsr r r ÚfromSyserrorm s zGPGMEError.fromSyserrorc C s | j S r )r r r r r Úmessageq s zGPGMEError.messagec C s t | ƒS r )Ústrr r r r Ú getstringu s zGPGMEError.getstringc C s | j S r )r r r r r Úgetcodex s zGPGMEError.getcodec C s | j S r )r r r r r Ú getsource{ s zGPGMEError.getsourceN)r r r r Úclassmethodr! r r" r$ r% r&