pywe-exception
Wechat Exception Module for Python.
Installation
pip install pywe-exception
Usage
In [1]: from pywe_exception import WeChatException, WeChatPayException
In [2]: raise WeChatException({"errcode": 40125, "errmsg": "invalid appsecret, view more at http://t.cn/RAEkdVq hint: [MVpSma0994e544]"})
---------------------------------------------------------------------------
WeChatException Traceback (most recent call last)
<ipython-input-2-793779f73857> in <module>()
----> 1 raise WeChatException({"errcode": 40125, "errmsg": "invalid appsecret, view more at http://t.cn/RAEkdVq hint: [MVpSma0994e544]"})
WeChatException: {'errcode': 40125, 'errmsg': 'invalid appsecret, view more at http://t.cn/RAEkdVq hint: [MVpSma0994e544]'}
Method
class WeChatException(Exception):
""" WeChatException """
class WeChatPayException(Exception):
""" WeChatPayException """
Metadata
Release files for pywe-exception 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pywe-exception-1.0.2.tar.gz | 1.6 kB | Without provenance | Details for pywe-exception-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pywe_exception-1.0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pywe_exception-1.0.2-py2.py3-none-any.whl |
Total release size: 4.9 kB
Release files / pywe-exception-1.0.2.tar.gz
| Download URL | pywe-exception-1.0.2.tar.gz |
|---|---|
| Size | 1.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfe1fe4e19a6a15e53aafd11175254505507c84360b9eeb0bafcb2bf87ce2274
|
|
BLAKE2b-256 checksum How to use checksums |
18fdd64ccf506fbcd292a8d6800ca76b81bd3fcf94056223ef7ee46cf6b933ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pywe_exception-1.0.2-py2.py3-none-any.whl
| Download URL | pywe_exception-1.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
263cae45e07c18bb8fe5fc06e3f852446c9116662ff1dd88d78555fe36313b5f
|
|
BLAKE2b-256 checksum How to use checksums |
10e5e39ebeb2122f47c0af0e45a5192945dae93046f7e582ef6e0feee9f060e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pywe-exception 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.